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)
- What Popular Apps Were Built With C/C++. Why Other Programming Languages Would Not Suit? - January 9, 2025
- Top 11 DevOps consulting companies in 2024. - January 8, 2025
- Atlassian Jira Demo - January 4, 2025