在git重置后——很难,git状态给了我在Changes not staging for commit:部分中的文件。
我也试过git reset ., git checkout。而git check - out-index -f -a,毫无用处。
那么,我怎样才能摆脱这些未分阶段的变化呢?
这似乎只影响Visual Studio项目文件。奇怪。请看这个粘贴:http://pastebin.com/eFZwPn9Z。这些文件的特殊之处在于,在.gitattributes中我有:
*.sln eol=crlf
*.vcproj eol=crlf
*.vcxproj* eol=crlf
另外,在我的全局.gitconfig中,selflf被设置为false。这有什么关系吗?