Upgrade git to 2.2.1 using Homebrew on Mac
A announcement has just been made about a severe critical vulnerability in git.
After trying to update my git from 2.1.0 to 2.2.1 with Homebrew, I realised I was getting nowhere. brew upgrade git was reporting 2.1.0 as the correct version. The error? I needed to update homebrew as well. Here are the two commands you will need:
brew update
brew upgrade git
You can then check which version of git you have by inputting git --version
markconroy$ git --version
git version 2.2.1
Join the "Something nice ..." newsletter
The full title is "Something nice, something quirky, something else".
I send an email once a week with something nice, something quirky, and something else that I think is interesting (all with a web development theme, of course).