Homebrew install: Failed during: git fetch origin master:refs/remotes/origin/master -n –depth=1

After a few hours of research and brute force I learned the issue was due to git not being configured properly. Some articles suggested downgrading your git or reinstalling all together. However, I resolved the issue just by adding the following

git config --global user.email yourgitemail@example.com

Then remove the cellar and homebrew directories from /usr/local and re-try the installation.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)