rajeshkumar created the topic: Homebrew – error: The following untracked working tree files would be
Error
error: The following untracked working tree files would be overwritten by merge
Solution
Check 1
Check the file permisson of the files/directories under /usr/local/homebrew if owner of them of them are root user?
To Fix the persmission issues –
> chown -R $(whoami) /usr/local
Check 2 –
Then go to your terminal and run these commands…
> cd /usr/local
> git reset –hard FETCH_HEAD
> git checkout Library
> brew update
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
Latest posts by Rajesh Kumar (see all)
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024