Git 右鍵新增Git Bash Here

2021-08-04 07:39:38 字數 718 閱讀 9485

小z由於不知原因,右鍵沒有了git bash here,沒有這個右鍵選單導致獲取git倉庫中的**很不方便,所以決定通過登錄檔的方式將這個選單加出來。

執行regedit.exe進入登錄檔,在hkey_classes_root\directory\background\shell中進行設定。

1.新建項git bush here,此時你可以看到在桌面右鍵會出現「git bush here」選單。

2.新增git bush icon,在第一步的新建項git bush here下,新建字串值icon,然後編輯該值為「c:\program files\git\mingw64\share\git\git-for-windows.ico」,你需要根據你安裝的git 目錄進行配置修改。完成此步後,你會發現右鍵選單「git bush here」會多出乙個icon。

3.新增command項。在「git bush here」下再新建項「command」,將其預設值改為「c:\program files\git\bin\bash.exe --login -i」,這樣,你就可以通過右鍵選單的方式快速進入git命令列工具,進行**版本管理。

ok,又解決了乙個小問題。

新增 刪除 windows下Git右鍵選單

不顯示右鍵選單 方法1 安裝的時候選擇不新增右鍵選單。方法2 絕對有效 執行cmd windows 64 輸入命令 位址為git安裝位址 cd c program files x86 git git cheetah regsvr32 u git shell ext64.dll windows 32 ...

新增 刪除 windows下Git右鍵選單

不顯示右鍵選單 方法1 安裝的時候選擇不新增右鍵選單。方法2 絕對有效 執行cmd windows 64 輸入命令 位址為git安裝位址 cd c program files x86 git git cheetah regsvr32 u git shell ext64.dll windows 32 ...

右鍵新增Dos Here

1 inf檔案安裝方法 將以下內容複製到乙個文字文件中,重新命名為doshere.inf,然後右鍵安裝即可 doshereinstall copyfiles doshere.files.inf addreg doshere.reg defaultinstall copyfiles doshere.f...