Skip to content

Instantly share code, notes, and snippets.

@lixingcong
Last active December 29, 2020 10:12
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lixingcong/a0d48a4e59f005a02445c34481d261f7 to your computer and use it in GitHub Desktop.
Save lixingcong/a0d48a4e59f005a02445c34481d261f7 to your computer and use it in GitHub Desktop.
添加"git bash"到右键菜单
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\background\shell\git_shell]
@="Git Ba&sh Here"
"Icon"="D:\\Program_Files\\Git\\git-bash.exe"
[HKEY_CLASSES_ROOT\Directory\background\shell\git_shell\command]
@="\"D:\\Program_Files\\Git\\git-bash.exe\" \"--cd=%v.\""
[HKEY_CLASSES_ROOT\Directory\shell\git_shell]
@="Git Ba&sh Here"
"Icon"="D:\\Program_Files\\Git\\git-bash.exe"
"LegacyDisable"=""
[HKEY_CLASSES_ROOT\Directory\shell\git_shell\command]
@="\"D:\\Program_Files\\Git\\git-bash.exe\" \"--cd=%1\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment