Launching GitHub Desktop from the command line
In the menu bar, select theGitHub Desktop menu, then clickInstall Command Line Tool.
Open Terminal.
To launch GitHub Desktop to the last opened repository, type
github
. To launch GitHub Desktop for a particular repository, typegithub
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 .
Open a command prompt.
To launch GitHub Desktop to the last opened repository, type
github
. To launch GitHub Desktop for a particular repository, typegithub
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-REPOC:\Users\octocat\repo\myrepo> github .