Skip to content

Instantly share code, notes, and snippets.

@zph
Last active August 29, 2015 14:11
Show Gist options
  • Select an option

  • Save zph/a984f79540bb0fdae969 to your computer and use it in GitHub Desktop.

Select an option

Save zph/a984f79540bb0fdae969 to your computer and use it in GitHub Desktop.
Verify successful update to non-vulnerable git on OSX
brew update && brew upgrade git && git --version | grep 2.2.1
if [[ $? == "0" ]];then
echo "Safe\!"
else
echo "Vunerable\!"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment