Mercurial Undo Merge

前端 未结 4 1597
鱼传尺愫
鱼传尺愫 2021-02-07 14:44

Have a scenario where we un-intentionally merged a named branch (ABC) into our default branch.

hg rollback is not an option beca

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-07 15:19

    If you haven't publish the repo publicly you can do this

    hg clone -r (parent1 of bad merge) -r (parent2 of bad merge) old new
    

    and delete the old repo.

提交回复
热议问题