win11 git bash 升級後沒有git命令的解決辦法

win11 git bash 升級後沒有git命令的解決辦法

 

1.點擊windows圖標,輸入:regedit

2.打開註冊表,位置:計算機\HKEY_CLASSES_ROOT\Directory\Background\shell\open in git\command  【看下邊圖片】(新建2個文件夾):open git bash/command

3.雙擊‘默認’,把數據那寫 git bash.exe 的路徑 【完】


點右鍵win11:【顯示更多選項->open git bash】 就出來了


原作者:https://blog.csdn.net/xiyangyang8110/article/details/110645165

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章