Skip to main content

Эта версия GitHub Enterprise Server будет прекращена 2026-04-09. Исправления выпускаться не будут даже при критических проблемах безопасности. Для повышения производительности, повышения безопасности и новых функций выполните обновление до последней версии GitHub Enterprise Server. Чтобы получить справку по обновлению, обратитесь в службу поддержки GitHub Enterprise.

Запуск GitHub Desktop из командной строки

Можно запустить GitHub Desktop из командной строки

Platform navigation

  1. In the menu bar, select the GitHub Desktop menu, then click Install Command Line Tool.

    Screenshot of the menu bar on a Mac. Under the "GitHub Desktop" dropdown menu, the option "Install command line tool" is highlighted in blue.

  2. Open Terminal.

  3. To launch GitHub Desktop to the last opened repository, type github. To launch GitHub Desktop for a particular repository, type github followed by the path to the repository.

    github /PATH/TO/REPO
    

    You can also change to your repository path and then type github . to open that repository.

    $ cd /PATH/TO/REPO
    [repo]$ github .
    
  1. Open a command prompt.

  2. To launch GitHub Desktop to the last opened repository, type github. To launch GitHub Desktop for a particular repository, type github followed by the path to the repository.

    C:\Users\octocat> github PATH\TO\REPO
    

    You can also change to your repository path and then type github . to open that repository.

    C:\Users\octocat> cd REPO\MY-REPO
    C:\Users\octocat\repo\myrepo> github .