-
In the menu bar, select the GitHub Desktop menu, then click Install Command Line Tool.
-
Open Terminal.
-
要对最近打开的存储库启动 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 .
-
Open a command prompt.
-
要对最近打开的存储库启动 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 .