I have just cloned a repository and the under the included changes panel in Visual Studio there were 100+ changes being detected. I did a git reset --hard
and that dropped the changes to about 20.
I've also tried the git --reset hard HEAD
variant. I've also tried git stash git stash drop
and git checkout .
A diff on the files shows they haven't been changed.
Does anyone know how I might reconcile the false changes or why this might be happening?
It was due to line endings. See this article for dealing with them.
Thanks to @Panagiotis Kanavos