Unstaged changes left after git reset –hard

I had the same problem and it was related to the .gitattributes file.
However the file type that caused the problem was not specified in the .gitattributes.

I was able to solve the issue by simply running

git rm .gitattributes
git add -A
git reset --hard

Leave a Comment