Skip to main content

Launching GitHub Desktop from the command line

You can launch GitHub Desktop from the command line.

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 expanded "GitHub Desktop" dropdown menu, the cursor hovers over "Install command line tool", highlighted in blue.

  2. Open Terminal.

  3. GitHub Desktop을 마지막으로 열린 리포지토리로 시작하려면 github를 입력하세요. 특정 리포지토리에 대해 GitHub Desktop을 시작하려면 리포지토리에 대한 경로 뒤에 github를 입력합니다.

    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. GitHub Desktop을 마지막으로 열린 리포지토리로 시작하려면 github를 입력하세요. 특정 리포지토리에 대해 GitHub Desktop을 시작하려면 리포지토리에 대한 경로 뒤에 github를 입력합니다.

    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 .