I\'m trying to do a git pull and get the error message:
error: The following untracked working tree files would be overwritten by merge:
I agree with other posters, the issue is that the file isn't being tracked by git. the command git rm
works on files being tracked. rm will remove the file from your machine. Alternatively you could add the file to your list of ignored files, or file types if that is convenient. You could also use one of the GUI tools like tortoise git to quickly delete all untracked files.