I'm trying to git pull origin master but I'm having a problem with a local files. This local file already is in my gitignore but i'm still having this error:
error: Your local changes to the following files would be overwritten by merge
I tried:
- git pull origin master --force
- How do I force "git pull" to overwrite local files?
The second attemps returned:
error: Entry 'myfolder/myfile' not uptodate. Cannot merge.
fatal: Could not reset index file to revision 'origin/master'.
My output from git status:
On branch master
Your branch is behind 'origin/master' by 119 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
nothing to commit, working tree clean