(in topicBranch)
git add .
git commit -m "added new feature"
git checkout master
git merger topicBranch
gives me the following error:
error: Your local changes to the following files would be overwritten by merge:
Looking at the log, the file in question is just some breakpoint related file buried deeply within my xcuserdata
directory. My thinking was to run git rm --cached path/to/that/file
and the problematic file would be removed from the index and git would have no problems with a merge. But it still fails.
My questions are A) how can I get the merge to run? B) given that git uses the "index" as its main area of interest, why wouldn't removing the problematic file from the index allow for a merge?