How to uninstall git-for-windows & re-install in new place?

Love and peace - Joe Codeswell picture Love and peace - Joe Codeswell · Oct 6, 2018 · Viewed 40.1k times · Source

I have updated/upgraded my installation of git-for-windows to git version 2.19.1.windows.1 using the command line method defined here.

The original install folder was directly in

C:\Users\MY_UNAME

I would like to uninstall it (and remove all of its associated files) from there.

Then re-install it into a sub-folder of

C:\Users\MY_UNAME

say

C:\Users\MY_UNAME\git_4win

.

How can accomplish this?

Answer

Philip Oakley picture Philip Oakley · Oct 10, 2018

Look for the C:\Program Files\Git\unins001.exe or similar in your install folder. It is the uninstall programme that come with Git-for-Windows.