How to uninstall git client in MacOS 10.11?
I installed git client to /usr/bin/git, but I can't uninstall it.
run 'sudo rm /usr/bin/git', NOPE.
disabled 'csrutil' and remove again, NOPE.
Do you have any shell script or some tools to uninstall it?
On Tue, Mar 23, 2021 at 02:20:25PM +0800, 张博平 wrote:
How to uninstall git client in MacOS 10.11?
I installed git client to /usr/bin/git, but I can't uninstall it.
run 'sudo rm /usr/bin/git', NOPE.
disabled 'csrutil' and remove again, NOPE.
Do you have any shell script or some tools to uninstall it?
What does
/usr/bin/git --version
say ?
On an oldish MacBook it says:
git version 2.10.1 (Apple Git-78)
So typically /usr/bin/git "belongs" to Apple
- and that may be outside the scope of this list.
Out of curiosity:
Why do you want to uninstall Git ?