Created
August 22, 2013 14:22
-
-
Save petems/6307829 to your computer and use it in GitHub Desktop.
Brew hard-reset... For when a brew update goes wrong, this resets it back to remote head
This file contains hidden or 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