使用 Mercurial 时,我通常会这样做hg push
,但会收到以下错误消息:
(use 'hg push --new-branch' to create new remote branches)
很好,我明白为什么我会收到消息。但是我总是想推送任何新的分支,所以我想知道是否有任何方法可以强制 Mercurial 记住总是推送新的分支,而我不必这样做:
hg push
...
(use 'hg push --new-branch' to create new remote branches)
---
hg push --new-branch