尝试在Mac OS上运行git uninstall.sh时出现问题 [英] Issues while trying to run git uninstall.sh on Mac OS
问题描述
我想尝试将Mac操作系统上的Git更新到最新版本,并说它首先运行提供的 uninstall.sh
。我必须承认,在阅读阅读我之前,我已经运行了pkg。不知道是否这一切都搞砸了......
现在我对终端并不大,并且发现以下命令来运行shell脚本:
$ sh卸载
但导致:
$ p $ / usr / sbin / uninstall:/ usr / sbin / uninstall:无法执行二进制文件
现在我卡住了。
我需要做什么来解决这个错误?
您应该运行 uninstall.sh
打包在你之前的Git发行版中,如在Mac OSX 10.10 Yosemite上安装并更新到最新版本的Git :
将Git从旧版本升级到最新版本2.0.1
如果您以前安装过Git,则可以升级通过使用uninstall.sh文件和安装来卸载以前的安装。
通过下载和安装的相同过程以及
.dmg
- 然后启动终端。
I wanted to try to update Git on my Mac OS to the latest version and it says to run the provided uninstall.sh
first. I must confess that I ran the pkg before reading the "Read me". Not sure if that screwed it all up ...
Now I am not big with the terminal and found the following command to run a shell script:
$ sh uninstall
but that resulted in:
/usr/sbin/uninstall: /usr/sbin/uninstall: cannot execute binary file
where I got stuck now.
Any idea what I have to do to resolve this error?
You should run the uninstall.sh
packaged with your previous distribution of Git, as explained in "Install and Update to latest version Git on Mac OSX 10.10 Yosemite":
Upgrading Git from a previous version to the latest 2.0.1
If you have previously installed Git you can upgrade to the latest version by uninstalling the previous install using the uninstall.sh file with the installation.
Go through the same process of downloading and mounting and the
.dmg
– then launch the Terminal.
这篇关于尝试在Mac OS上运行git uninstall.sh时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!