Noobs DeSroobs Noobs DeSroobs - 3 months ago 29
Git Question

How do I change the Git Bash Here terminal from mingw to the standard cmd OR powershell on Windows 10?

I have started to absolutely HATE mingw as I seem to be unable to wrestle the right click option "Git bash here" away from mingw. I cant highlight anything in mingw and I cant copy paste. All I want is for the same functionality that cmd has on windows 10.

As such, how can I change my git bash to use system32/cmd.exe or powershell instead?

I have tried searching the registry, I have tried reinstalling.


You could edit the registry at HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell\command and HKEY_CLASSES_ROOT\Directory\shell\git_shell\command to point to the shell you prefer, or better yet add your own parallel entries.

The default property on first of these controls the popup menu when you right click on a blank area (background) in a explorer window, and the second when you right click on a folder.

If you are trying to do it from PowerShell, remember you can use provider-paths like REGISTRY::HKEY_CLASSES_ROOT\Directory\shell\git_shell\command with Get-Item and Set-Item. But if it's just a one-off, I'd use RegEdit so you won't have to deal with nested quotes.