2012-04-11 49 views
1

有没有可能让本地分支机构在本地仓库中没有出现在远程仓库中?是否有可能在本地只有分支机构在mercurial

例如

Local Repo: 

[default] 
[fixes] 

我想修补程序的分支合并为默认,然后按高达远程仓库没有推动本地[修复]分支到远程回购?

Remote Repo: 

[default] 
+0

请参阅[this other question](http://stackoverflow.com/questions/6989262/discard-a-local-branch-in-mercurial-before-it-is-pushed) – 2012-04-11 14:49:42

回答

0

如果您将fixes合并到default中,那么fixesdefault历史记录的一部分,并且必须同时推送。如果您有两个独立的分支头,则可以用hg push -r <rev>推动另一个。

相关问题