右鍵Git Bash Here菜單消失
解決:
win + r 輸入regedit回車進入注冊表
找到目錄 HKEY_CLASSES_ROOT\Directory\Background\shell
在 shell 目錄下新建項
右鍵shell --> 新建 --> 項 命名為GitBashHere (可自定義)
右鍵GitBashHere --> 新建 --> 字符串 命名為Icon 將其值修改為 Git Bash Here 圖標的路徑
右鍵shell --> 新建 --> 項 命名為Command
右鍵Command --> 新建 --> 字符串 將其值修改為程序的路徑
這個時候右鍵 Git Bash Here 的菜單就出來了