V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
Akagi201
V2EX  ›  问与答

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

  •  
  •   Akagi201 · 2014-08-15 20:10:07 +08:00 · 5792 次点击
    这是一个创建于 3577 天前的主题,其中的信息可能已经有所发展或是发生改变。
    ```
    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")
    ```
    2 条回复    2014-08-15 20:30:56 +08:00
    AstroProfundis
        1
    AstroProfundis  
       2014-08-15 20:11:10 +08:00   ❤️ 1
    diff 一下看看,有可能是编码或者换行符之类的
    Akagi201
        2
    Akagi201  
    OP
       2014-08-15 20:30:56 +08:00
    结贴了, 换行符问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2318 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:49 · PVG 19:49 · LAX 04:49 · JFK 07:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.