Recently I am getting a weird git issue. Whenever I am getting pull from a remote branch it is resulting in a modified change in any existing local branch. The changes is that first file is first deleting the content and then rewrite it i.e. same change rewriting again. So I did not get how it is possible. One thing I want to mention a few time before I have got some conflicts when I was merging this branch to a upper branch so I resolved the conflict in the gitlab IDE itself and then take pull from there in my local. So after that I am getting this issue.
The main thing is that when I resolved that conflict it has committed so why it is showing as local change? Also this is not going by doing git checkout, stash or reset --hard.
I have also tried the config settings like crlf and file mode etc but no luck.
Please let me know how to get rid of this change as I do not want to commit this from my local. I also do not want to rebase as it will affect other developer. Please help.