Git 2.1.1 is now available for installation via homebrew. However, there are some issues with Tower. Most obviously is the lack of changeset diffs for certain commits.
The simplest solution would be to downgrade git back to 2.1.0. Luckily, homebrew gives you a few ways to do this.
If an older version still exists, you can use
brew switch to unlink the current version and re-link the old version.
$ brew info git # git: stable 2.1.1, HEAD # http://git-scm.com # /usr/local/Cellar/git/2.1.0 (1339 files, 31M) # Built from source # /usr/local/Cellar/git/2.1.1 (1340 files, 32M) * # Built from source $ brew switch git 2.1.0 # Cleaning /usr/local/Cellar/git/2.1.0 # Cleaning /usr/local/Cellar/git/2.1.1 # 209 links created for /usr/local/Cellar/git/2.1.0
brew info git only shows the most recent version, then you’ll have to re-install the old version. Homebrew
currently offers a
versions command. Unfortunately, it’s deprecated with no replacement. :sob: :rage:
$ cd `brew --repository` $ brew versions | grep 2.1.0 # 2.1.0 git checkout 47a2d10 Library/Formula/git.rb $ git checkout 47a2d10 Library/Formula/git.rb $ brew unlink git $ brew install git
For more info, check out the awesome answer to this stack overflow question.