[MacOS 10.11]uninstall git client

2 messages, 2 authors, 2021-03-23 · open the first message on its own page

[MacOS 10.11]uninstall git client

From: 张博平 <hidden>
Date: 2021-03-23 06:21:33

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?

Re: [MacOS 10.11]uninstall git client

From: Torsten Bögershausen <hidden>
Date: 2021-03-23 16:38:10

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 ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help