I have the following scenario:
- I create a local branch from master
- Work on the local branch, commit changes
- Switch to master using the Visual Studio git plugin
- Do some changes on master, commit, sync
- When I switch back to the local branch I immediately have uncommitted changes on that branch for the files that I edited on master. So if I view changes on those files there are no actual changes but I am guessing that the date modified of the files changed or something.
At first this was a just nuisance, but when you switch back to master, master will have 'ghost' changes for the files edited in the local branch, so if you continue working like this for a while you are spammed with conflicts when merging the two branches and this can lead to loss of work.
Any clues?