threads / discuss / 55370

[MacOS 10.11]uninstall git client

Subject: [MacOS 10.11]uninstall git client

## tl;dr

2 messages between Mar 23, 2021 and Mar 23, 2021.

replies: 1people: 2as markdown or json

张博平· Mar 23, 2021, 06:20 UTC · lore
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?
Torsten Bögershausen· Mar 23, 2021, 16:32 UTC · re: 张博平 · lore

Re: [MacOS 10.11]uninstall git client

On Tue, Mar 23, 2021 at 02:20:25PM +0800, 张博平 wrote:
Show 9 quoted lines
> 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 ?

← back to recent threads