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

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

  •  
  •   sisyphus60 · 2015-05-31 18:38:33 +08:00 · 2340 次点击
    这是一个创建于 3256 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    5 条回复    2015-05-31 19:55:31 +08:00
    deepure
        1
    deepure  
       2015-05-31 18:43:19 +08:00 via iPhone
    代表远端有两次commit没有拉到本地
    hjxx
        2
    hjxx  
       2015-05-31 18:43:22 +08:00
    ……有2个版本没pull下来。。。
    sisyphus60
        3
    sisyphus60  
    OP
       2015-05-31 18:48:22 +08:00
    @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  
       2015-05-31 18:51:14 +08:00 via iPhone
    同一个意思,2 behind
    Sharuru
        5
    Sharuru  
       2015-05-31 19:55:31 +08:00
    建议先去了解一下 Git 的基本原理,再尝试在 GUI 上点点点…… (¬︿̫̿¬☆)
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4982 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:35 · PVG 17:35 · LAX 02:35 · JFK 05:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.