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

2015-05-31 18:38:33 +08:00
 sisyphus60


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

2351 次点击
所在节点    问与答
5 条回复
deepure
2015-05-31 18:43:19 +08:00
代表远端有两次commit没有拉到本地
hjxx
2015-05-31 18:43:22 +08:00
……有2个版本没pull下来。。。
sisyphus60
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
2015-05-31 18:51:14 +08:00
同一个意思,2 behind
Sharuru
2015-05-31 19:55:31 +08:00
建议先去了解一下 Git 的基本原理,再尝试在 GUI 上点点点…… (¬︿̫̿¬☆)

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

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

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

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

© 2021 V2EX