【发布时间】:2015-02-23 02:48:06
【问题描述】:
我在部署到 Heroku 期间收到有关 git 1.9.3 严重安全漏洞的警告
我尝试通过 homebrew 更新 git,但发现 git 最初不是通过 homebrew 安装的
然后我通过自制软件安装了它
brew update
brew install git
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/git-2.2.1.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring git-2.2.1.mavericks.bottle.tar.gz
==> Caveats
The OS X keychain credential helper has been installed to:
/usr/local/bin/git-credential-osxkeychain
The "contrib" directory has been installed to:
/usr/local/share/git-core/contrib
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completion has been installed to:
/usr/local/share/zsh/site-functions
==> Summary
???? /usr/local/Cellar/git/2.2.1: 1356 files, 31M
之后,当我检查 git 版本时,它保持不变
⇒ git --version
git version 1.9.3 (Apple Git-50)
在我看来 homebrew 在文件夹 /usr/local/Cellar/git/2.2.1
中安装了 git最后是我的问题: 我应该怎么做才能开始使用 homebrew git 而不是原来的 git?
【问题讨论】:
标签: macos git security heroku homebrew