This topic created in 4732 days ago, the information mentioned may be changed or developed.
git checkout也不行,总有3个文件没有被还原。
这3哥文件已跟踪,git status -s显示第二列M。
Supplement 1 · Nov 23, 2013
问题解决,参见:http://stackoverflow.com/questions/11383094/unstaged-changes-left-after-git-reset-hard
3 replies • 2019-11-16 23:37:41 +08:00
 |
|
试试 git clean -dxf
|
 |
|
多数就是行尾cr/lf的问题。其实diff一下就知道问题在哪了
|
 |
|
git config core.filemode false 这个搞定
|