Friday, July 28, 2017

Uninstall git which is installed from source

I installed git 2.9.4 from source code via 'configure' and 'make install'. For some reason I need to uninstall it, but it could not be uninstalled with 'make uninstall'.

sudo find /usr/local -depth -iname 'git*' -exec rm -rf {} \;

The above command would delete all git related files.

No comments: