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