“Git Bash here” isn't working when right clicking

前端 未结 6 526
甜味超标
甜味超标 2021-02-05 03:38

I dunno how that happened but before today I could right click on any folder and there would be and an option Git Bash here. But today I dont have that option. Anyo

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-05 04:07

    Run this script (AddGitToExplorerContextMenu.reg). You may need to update the location of Git. You can add it manually through regedit also

    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell]
    @="Git Bash"
    
    [HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell\command]
    @="\"C:\\Program Files\\Git\\git-bash.exe\" \"--cd=%v.\""
    

提交回复
热议问题