我刚刚安装了Hg-Git,我想知道是否可以从同一个存储库推送到Bitbucket.org和Github.com。我想的是这样的:Hg-Git:如何推送Github和Bitbucket?
$ #make commits
$ hg push #pushes to Bitbucket since it is set as `default` in hgrc
$ hg push "github remote alias" #push to Github
所以,默认情况下它推向到位桶,并通过指定“远程”别名推到Github上。
你试过了吗? – 2011-04-02 15:07:00
我还没试过。 Hg有一个'remote add'命令来试试这个吗? – john2x 2011-04-02 15:37:39
我有点困惑。你在问如何让'push'命令推送到多个远程目的地? – 2011-04-02 15:59:54