Can I squash commits in Mercurial?

后端 未结 8 1735
时光说笑
时光说笑 2020-11-30 20:13

I have a pair of commits that should really be just one. If I was using git, I would use:

git rebase -i 

and then

8条回答
  •  孤街浪徒
    2020-11-30 20:56

    I use:

    hg phase --draft --force -r 267
    ...
    hg rebase --dest 282 --source 267 --collapse
    

提交回复
热议问题