git checkout -t显示已修改的文件

时间:2012-09-04 21:30:20

标签: git

$ git checkout -t origin/integrated
$ git checkout master
error: Your local changes to the following files would be overwritten by checkout:
src/me/unroll/scanner/moduletestset/apple.eml

可能导致这种情况的原因是什么?请注意,这是在git clone.

之后

似乎与CRLF问题有关。

1 个答案:

答案 0 :(得分:0)

您应该尝试将core.autocrlf设置为false。

另一件事是你可以做到

git checkout integrated