Skip to content


Subversion checkout URL

You can clone with
Download ZIP


n places inside /usr/local, causing brew update to fail #158

coreh opened this Issue · 4 comments

5 participants


I tried updating homebrew earlier today with the brew update command, and got the following error message:

Your local changes to the following files would be overwritten by merge:

After looking around a bit, it looks like brew turns /usr/local into a git repo. Running git diff there showed that brew's file was overwritten with node's. I stashed it and brew updated normally, but I started to wonder how node's got there. I then tried changing my current node version with n, and was overwritten with node's readme.

We should probably skip this file when installing, as it doesn't make a lot of sense to include it in the root /usr/local dir. I'm also going to report this as a bug to the homebrew folks, because it also doesn't make sense for their readme to be on the root /usr/local dir.

hax commented

I meet the same problem today.


+1, brew got really fussy about it when I tried to upgrade.


+1 for mild annoyance :-)


PR would be appreciated. I do not have an mac system on which to test this.

@tjwebb tjwebb closed this in #179
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.