Welcome to Machine Unix

Search Below

Brew Update Issues

If you see an error when updating brew in the console along the lines of:

$ brew update
error: Your local changes to the following files would be overwritten by merge:
Please, commit your changes or stash them before you can merge.

Per https://github.com/Homebrew/homebrew/issues/13581, this is a permissions issue and the suggested solution works :

# chmod 644 /usr/local/share/man/man1/brew.1

After this you can use update

$ brew update
Checking out files: 100% (3222/3222), done.
Updated Homebrew from 08fddfdb to 8ce77b05.
==> New Formula
abcm2ps                 boot2docker              darkhttpd
abcmidi                 bpm-tools              darkstat
acme                 brag                  dateutils….