Last Updated: February 25, 2016
·
1.712K
· bolomichelin

How to fix brew update ?

This morning, i wanted to update brew and i get this error.

Error: Failed while executing git pull origin refs/heads/master:refs/remotes/origin/master

You should do that

cd `brew --prefix`
git clean -n
git clean -f

Voila !