我最近的变化是微乎其微。我最终做对了吗?
$ hg pull
warning: code.google.com certificate with fingerprint d2:33:75:af:62:64:5b:75:dc:3f:bf:22:30:b6:27:13:ff:3f:90:fd not verified (check hostfingerprints or web.cacerts config setting)
pulling from https://[email protected]/p/montao/
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
(run 'hg update' to get a working copy)
[email protected]:/media/Lexar/montao$ hg update
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
所以我不应该做合并,我应该拉?
为什么没有简单的例子说明2个开发人员如何协作?
例如
Time Developer 1 Developer 2
hg clone hg clone
editing
hg commit
hg push
editing
hg pull
hg commit
hg push
2个开发商像上面之间的工作流程的一个例子将使它更容易理解什么是汞拉,MERG,更新,而不是让我迷惑拉与合并。
例如,我现在知道如何从另一个地方发生变化时不能得到2个头。
我可能需要一个例子说明2个开发人员如何协作以及如何获得远程更改。
+1好的和复杂的答案。 – hochl
,当然你可以在你拉之前总是提交,这样你永远不需要做一次未被跟踪的合并 –
谢谢。我得到了拉和合并混合起来。 –