LoginSignup
8
9

More than 5 years have passed since last update.

GitHub for Windows または Git Shell のショートカットを再インストールする

Posted at

GitHub for Windows または Git Shell のショートカットアイコンに異常が生じた際に、それらの修復を行います。

  1. Git Shell を起動
  2. GitHub.exe のパスをクリップボードに格納
    Get-Command GitHub.exe -Syntax | CLIP

  3. Git Shell を閉じ、コマンドプロンプト、または PowerShell を起動し、
    GitHub.exe --reinstall-shortcuts


補足
GitHub.exe には --reinstall-shortcuts 以外の入力も可能です。詳しくは GitHub.exe -help で確認できます。

蛇足
GitHub for Windows をインストールすると、Git Shell も一緒にインストールされます。この Git Shell は msysgit と異なり、何も設定せずとも日本語の入出力が可能なので便利です。

8
9
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
9