I'm a git newbie and am having an annoying error. I've spent a few hours going through different posts on StackOverflow to see how other users solved this, but nothing is working for me.
When pulling from the repo, I get the following error:
error: The following untracked working tree files would be overwritten by merge: upload/.DS_Store
- I deleted .DS_Store from my Mac, but it just recreated the file.
- I tried
git add .
,git stash
,git pull
and still got the error. - I added .DS_Store to
.gitignore
, but I still get the error.
I have no idea what to do.