windows - git thinks files have changed -
i did work on project on 1 machine, pushed github and, on machine, cloned , did work, pushed. went first machine , did pull. first machine thinks files in project changed. i've tried
git checkout -f -- and
git rm --cached -r . git checkout -f and tried
git stash but no matter do, git status tells me files have been changed. how make stop?
this seems line-ending/autocrlf issue. great trick realized fixing (if index doesn't matter) is:
$ git add -u . $ git reset .
Comments
Post a Comment