Skip to content

Instantly share code, notes, and snippets.

@NaniteFactory
Created June 25, 2018 17:53
Show Gist options
  • Select an option

  • Save NaniteFactory/bc3f4ad94e3fb553f2abee0c229fd113 to your computer and use it in GitHub Desktop.

Select an option

Save NaniteFactory/bc3f4ad94e3fb553f2abee0c229fd113 to your computer and use it in GitHub Desktop.
"Git Bash here" context menu item // Registry exports directly from the Windows installer.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_shell]
@="Git Ba&sh Here"
"Icon"="D:\\Program Files\\Git\\git-bash.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_shell\command]
@="\"D:\\Program Files\\Git\\git-bash.exe\" \"--cd=%v.\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_gui]
@="Git &GUI Here"
"Icon"="D:\\Program Files\\Git\\cmd\\git-gui.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_gui\command]
@="\"D:\\Program Files\\Git\\cmd\\git-gui.exe\" \"--working-dir\" \"%v.\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment