新增「Git Bash Here」到右鍵選單

2022-06-02 08:48:08 字數 597 閱讀 5383

1.按鍵盤上的組合鍵【win+r】把執行調出來

2.在執行中輸入【regedit】再點選確定。

3.定位到hkey_classes_root\directory\background\shell(如果background下面沒有shell目錄,就自己新建乙個)

4.右鍵點選shell,選擇新建,然後選擇項,命名為 git bash here,成功後進入桌面右鍵發現多了 git bash here.

5.新增圖示:右鍵點選shell中你剛剛新建的這個項(git bash here),選擇新建,然後選擇字串值,將名稱設定為icon;icon的資料為git-for-windows.ico檔案所在位置。

6.在git bash here下右鍵-新建-項,命名為command,其值為"git安裝目錄\bin\bash.exe" "--cd=%1"

7.完成右鍵選單出現 git bash here 選擇項。

新增Git Bash Here到右鍵選單

步驟 1 通過在 執行 中輸入 regedit 開啟登錄檔。2 找到 hkey classes root directory background 3 在 background 下如果沒有 shell 則右鍵 新建項 shell 4 在 shell 下右鍵 新建項 open in git 其值為 g...

新增「Git Bash Here」到右鍵選單

之前安裝了git的時候,清晰的記得右鍵選單裡是有 git bash here 這個選項的,非常方面。後來不知道為啥突然沒有了,就像搞回來。開啟登錄檔,定位到hkey classes root directory background shell 如果background下面沒有shell目錄,就自己...

右鍵 新增Git Bash Here選單

步驟 1 通過在 執行 中輸入 regedit 開啟登錄檔。2 找到 hkey classes root directory background 3 在 background 下如果沒有 shell 則右鍵 新建項 shell 4 在 shell 下右鍵 新建項 open in git 其值為 g...