如何仅在当前分支上执行pull -rebase

时间:2016-08-24 00:01:00

标签: mercurial

我想执行一个hg pull -b [branch] --rebase,其中[branch]是我目前所在的分支。

我该怎么做?

1 个答案:

答案 0 :(得分:0)

这是我最终的解决方案(适用于PowerShell):

hg pull -r $(& hg branch) --rebase