快速添加 git 至右鍵菜單 git免安裝版添加右鍵菜單

新建text文件,複製以下代碼
替換我這邊文件路徑D:\\System爲自己的路徑,其他一般都不變
然後保存,更改後綴名爲reg,雙擊打開即可

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Directory\Background\shell\open in git]

[HKEY_CLASSES_ROOT\Directory\Background\shell\open in git]

@="Git Bash Here"

"icon"="D:\\System\\Git\\mingw64\\share\\git\\git-for-windows.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\open in git\command]

@="D:\\System\\Git\\git-bash.exe"

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