V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Akagi201
V2EX  ›  问与答

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

  •  
  •   Akagi201 · Aug 15, 2014 · 6166 views
    This topic created in 4272 days ago, the information mentioned may be changed or developed.
    ```
    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 replies    2014-08-15 20:30:56 +08:00
    AstroProfundis
        1
    AstroProfundis  
       Aug 15, 2014   ❤️ 1
    diff 一下看看,有可能是编码或者换行符之类的
    Akagi201
        2
    Akagi201  
    OP
       Aug 15, 2014
    结贴了, 换行符问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6074 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 02:36 · PVG 10:36 · LAX 19:36 · JFK 22:36
    ♥ Do have faith in what you're doing.