Solution: error – The following untracked working tree files would be overwritten by merge

So you just tried to do a git pull and got the following error:

error: The following untracked working tree files would be overwritten by merge:

How to fix Untracked Working Trees Overwritten Merge

You can fix this error by first adding and stashing your local files before performing the pull.

git add * git stash git pull
Code language: Bash (bash)
Tags:
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments