Skip to content

Instantly share code, notes, and snippets.

@rymawby
Created September 24, 2012 17:38
Show Gist options
  • Save rymawby/3777215 to your computer and use it in GitHub Desktop.
Save rymawby/3777215 to your computer and use it in GitHub Desktop.
Fix Homebrew issue with updating when the git pull is not working
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