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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -