I can't uninstall Git

I was researching Git so I downloaded the Windows version to test it out on a repository on GitHub. After about 30 minutes I couldn't work out how to use it, so I decided I probably wouldn't need a distributed repository as our projects aren't that big and went back to what I know - SVN.

(I thought) I uninstalled all the Git related stuff I'd put on my PC, but have now got an irritating problem where if I open any folders I get an error message saying:

Hello

[ERROR] Could not find git path

As you can imagine, this is a real pain, does anyone have any ideas on how to fix it?


Solution 1:

This would happen because

Uninstall was unable to delete the file "C:\Program Files\Git\git-cheetah\git_shell_ext.dll"

The correct fix would be to unregister the dll and delete it

  1. open the Command Prompt window
  2. execute > regsvr32 -s -u git_shell_ext.dll
  3. delete "C:\Program Files\Git\git-cheetah\git_shell_ext.dll"

If that does not work here's an ugly workaround:

  1. Open "Task Manager" and go to Processes
  2. Find explorer.exe and click end process
  3. Choose File > Run in "Task Manager" and type 'cmd' and click OK to open "Command Prompt" and cd to "C:\Program Files\Git\git-cheetah"
  4. Delete git_shell_ext.dll
  5. Restart

be sure to clean-up after reboot, remove "Git" folder from "C:\Program Files"

Solution 2:

You may want to have a look at this, it shows what shell extensions are installed and can help to remove problematic items:

http://www.nirsoft.net/utils/shexview.html

Incidentally, you should have given GIT a chance - it takes a while, but the payback is worth it.