Skip to content

Instantly share code, notes, and snippets.

@kyleridolfo
Created May 25, 2012 22:14
Show Gist options
  • Save kyleridolfo/2790883 to your computer and use it in GitHub Desktop.
Save kyleridolfo/2790883 to your computer and use it in GitHub Desktop.
Error: You have uncommitted modifications to Homebrew's core.
Unless you know what you are doing, you should run:
cd /usr/local && git reset --hard
So I run that, but it doesn't reset. Here's what the git status looks like for /usr/local afterwards:
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# Library/Aliases/mikmod
# Library/Formula/go-access.rb
# Library/Formula/libpng.rb
# Library/Formula/redcar.rb
# Library/Formula/shapefile.rb
# Library/Homebrew/compatibility.rb
# Library/Perl/
nothing added to commit but untracked files present (use "git add" to track)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment