git clone 一个 repo 之后没进行任何修改就显示有的文件 modified, 是怎么个情况?

2014-08-15 20:10:07 +08:00
 Akagi201
```
akagi201@akgentoo ~/a20-kernel (master*) $ git status
On branch master
Your branch is up-to-date with 'origin/master'.

Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)

modified: allwinner-tools/livesuit/a20/default/sys_partition.fex
modified: allwinner-tools/livesuit/a20/eFex/card/cardscript.fex
modified: allwinner-tools/livesuit/a20/fsbuild200/readme.txt

no changes added to commit (use "git add" and/or "git commit -a")
```
5796 次点击
所在节点    问与答
2 条回复
AstroProfundis
2014-08-15 20:11:10 +08:00
diff 一下看看,有可能是编码或者换行符之类的
Akagi201
2014-08-15 20:30:56 +08:00
结贴了, 换行符问题

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/128139

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX