當使用水銀,我常常會做hg push
,我會得到這個錯誤信息:在Mercurial中,是否有一個設置來總是推新的分支?
(use 'hg push --new-branch' to create new remote branches)
這很好,我明白爲什麼我得到的消息。但我總是要推動任何新的分支機構,所以我想知道是否有任何方式強迫水銀記得總是推新的分支機構沒有我不得不做的事:
hg push
...
(use 'hg push --new-branch' to create new remote branches)
---
hg push --new-branch