Skip to content

Instantly share code, notes, and snippets.

@st
Created December 19, 2014 08:47
Show Gist options
  • Save st/5a030558b41cdce3e3c6 to your computer and use it in GitHub Desktop.
Save st/5a030558b41cdce3e3c6 to your computer and use it in GitHub Desktop.
git update (CVE-2014-9390)
# on mac os X
# in case, your git is the "apple" version
sudo mv /usr/bin/git /usr/bin/git-apple
brew install git
brew update && brew upgrade git
sudo ln -s /usr/local/bin/git /usr/bin/git
# in case, it's already managed by brew
brew update && brew upgrade git
# to check
$ git --version
git version 2.2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment