Created
September 24, 2012 17:38
-
-
Save rymawby/3777215 to your computer and use it in GitHub Desktop.
Fix Homebrew issue with updating when the git pull is not working
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd `brew --prefix` | |
git remote add origin https://github.com/mxcl/homebrew.git | |
git fetch origin | |
git reset --hard origin/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment