I have checked out a remote branch and set it to track that remote branch with
"git branch localTrackingBranch origin/remoteBranchLocation"
I don't understand what's going on at this point. When I open the particular file of interest in my editor (vs code) there are incoming changes.
I do a git diff against the remote branch and apparently there are no differences.
Why are there incoming changes? Shouldn't that file look identical to the one in the remote branch? When I accept incoming changes and run git diff now there are differences. I am stumped.
I removed the file locally and did a git checkout on the file and the incoming changes are there still. Can anybody explain this and how to proceed/troubleshoot the problem?
My guess is that there is a merge in progress on this branch. So when I accept or decline incoming changes I see differences. I have tried this solution and apparently there is no merge in progress.