How to uninstall git

本文提供了在Mac OS上彻底卸载Git的方法。通过使用sudo命令删除指定路径下的Git相关文件夹,确保Git完全从系统中移除。注意这些操作需要管理员权限。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

原文链接:http://code.google.com/p/git-osx-installer/wiki/Uninstall

Uninstall

Featured
Updated Feb 4, 2010by timchar...@gmail.com

To uninstall Git, run the following:

rm -rf /usr/local/git
rm /etc/paths.d/git
rm /etc/manpaths.d/git
Comment bytwi...@gmail.com, Dec 8, 2008

Does this installer work for Tiger?

Comment bysho...@gmail.com, Aug 3, 2009

These commands need to be prefixed with sudo.

sudo rm -rf /usr/local/git sudo rm /etc/paths.d/git sudo rm /etc/manpaths.d/git

Comment byshazb...@gmail.com, Jun 25, 2010

Streamlined using sudo:

sudo rm -rf /usr/local/git /etc/paths.d/git /etc/manpaths.d/git

Comment byaone....@gmail.com, Nov 20, 2010

After doing that, Little Snitch continues to alert me PubSubAgent?trying to connect to github.com. It's not a real problem, but anyone know where is stored the rss (I suppose is an rss) info?


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值