The issue is related the file under repo: .gitattributes
when i comment the line below, the issue disappear:

* text=auto

On Sunday, April 6, 2014 9:20:35 PM UTC+8, Bicen Zhu wrote:
> Hi, 
> I found something strange, which can be reproduced as below,( at lease at 
> my git repository)
> there is a working copy which is clean, then i delete one file using 'rm 
> RosterLogoButton.h' command in the Git bash.
> then using `git checkout  RosterLogoButton.h` to get it back, 
> here run git status, i can see the file was changed, this is unexpected,
> and the git diff shows it deleted each of line and added back.
> during these steps i did't change the end of line setting, and spaces tab 
> etc.
> here, `git checkout RosterLogoButton.h` is also not working, after running 
> it, git bash still prompt the file is changed.
> Any comments? 
> $ git --version
> git version 1.9.0.msysgit.0
> Thanks.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to