Git refusing to merge because of changes to an unchanged file -
i'm having git problem want merge branch master it's refusing merge because thinks have local changes file. doing status shows no changes , diffing files produces nothing. here's terminal output:
$ git checkout productsandcontents switched branch 'productsandcontents' $ git status # on branch productsandcontents nothing commit (working directory clean) $ git checkout master switched branch 'master' $ git status # on branch master nothing commit (working directory clean) $ git merge productsandcontents error: local changes following files overwritten merge: tests/unit/src/models/brandtests.js please, commit changes or stash them before can merge. aborting any or suggestions appreciated!
thanks andrew myers' comment on initial question, discovered setting core.trustctime false solved problem.
git config core.trustctime false something mismatching inode change times. i'm guessing because repo sitting on fileshare on machine different file system 1 i'm using.
thanks suggestions!
Comments
Post a Comment