Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Homebrew – error: The following untracked working tree files would be

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

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x