Answer the question
In order to leave comments, you need to log in
How to uninstall git on mac os?
Please tell me how can I remove git in macos.
I try the commands: rm -rf /usr/local/git, rm /etc/paths.d/git, rm /etc/manpaths.d/git. But it doesn't help
Answer the question
In order to leave comments, you need to log in
pre-installed git sits in /usr/bin/git
there is no point in removing it, if you want to use a different version then install it and add the path to it in PATH, just before /usr/bin/git.
In general, it is not advised to remove the pre-installed git: https://apple.stackexchange.com/questions/244001/h...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question