Category: Mac OS

Uninstallation script for GIT on Mac

if [ ! -r “/usr/local/git” ]; then echo “Git doesn’t appear to be installed via this installer. Aborting” exit 1fiecho “This will uninstall git by removing /usr/local/git/**/*, /etc/paths.d/git, /etc/manpaths.d/git”printf “Type ‘yes’ if you sure you wish to continue: “read responseif [ “$response” == “yes” ]; then sudo rm -rf /usr/local/git/ sudo rm /etc/paths.d/git sudo rm

Continue Reading →