sisyphus60
V2EX  ›  问与答

souceTree 面板上的数字是什么意思?

  •  
  •   sisyphus60 · May 31, 2015 · 3033 views
    This topic created in 4063 days ago, the information mentioned may be changed or developed.

    image
    才用这个玩意,不熟悉,左侧的master旁边的「2」什么意思?在网上查说是2个文件被修改,但我明明修改了很多的文件。pull上面的那个「2」又是什么意思?

    5 replies    2015-05-31 19:55:31 +08:00
    deepure
        1
    deepure  
       May 31, 2015 via iPhone
    代表远端有两次commit没有拉到本地
    hjxx
        2
    hjxx  
       May 31, 2015
    ……有2个版本没pull下来。。。
    sisyphus60
        3
    sisyphus60  
    OP
       May 31, 2015
    @deepure @hjxx 多谢, 正好查到了,还是你们快。

    'Your current branch is indicated with bold text and a 'tick badge' on the branch icon. In Git, the number of commits that your branch is ahead or behind the remote branch that it's tracking is displayed alongside the name, with an up arrow for ahead, and a down arrow for behind. In Mercurial, this is not necessary since these counts are not tracked per branch (just see the numbers on the Pull / Push toolbar icons).'

    另外还有个问题,git是不是发现有冲突后,就会停止所有文件的更新啊,我用eclipse的git就发现有这个问题:remote新添的文件也没有pull下来。
    NemoAlex
        4
    NemoAlex  
       May 31, 2015 via iPhone
    同一个意思,2 behind
    Sharuru
        5
    Sharuru  
       May 31, 2015
    建议先去了解一下 Git 的基本原理,再尝试在 GUI 上点点点…… (¬︿̫̿¬☆)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1412 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 16:50 · PVG 00:50 · LAX 09:50 · JFK 12:50
    ♥ Do have faith in what you're doing.