Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
GitHub Docs

Launching GitHub Desktop from the command line

You can launch GitHub Desktop from the command line.

Platform navigation

  1. In the menu bar, select theGitHub Desktop menu, then clickInstall 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, typegithub. 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 typegithub . 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, typegithub. 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 typegithub . to open that repository.

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

[8]ページ先頭

©2009-2025 Movatter.jp