WARNING: Your version of git is 1.9.3. has serious

2019-03-20 03:10发布

问题:

I received a warning regarding serious security vulnerability of git 1.9.3 during deploy to Heroku

I tried to update git via homebrew but found that git was not originally installed via homebrew

Then I installed it via 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