Created
December 12, 2013 07:19
-
-
Save xeb/7924287 to your computer and use it in GitHub Desktop.
Reset homebrew
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 --repository` | |
git reset --hard HEAD | |
brew update | |
Sometimes the above doesn't work. In that case, do | |
cd `brew --repository` | |
git reset --hard origin/master | |
brew update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment