Created
June 8, 2013 18:43
-
-
Save shinyay/5736183 to your computer and use it in GitHub Desktop.
Error occured by brew update on OSX error: The following untracked working tree files would be overwritten by merge: Library/Formula/libarchive.rb
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
| $ brew update | |
| error: The following untracked working tree files would be overwritten by merge: | |
| Library/Formula/libarchive.rb | |
| Please move or remove them before you can merge. | |
| Aborting | |
| Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master | |
| # I deal with the error as follows | |
| $ cd /usr/local/Library/Formula | |
| $ git reset --hard FETCH_HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment