How to abandon a hg merge?

前端 未结 4 1106
别那么骄傲
别那么骄傲 2020-12-22 21:06

I\'m new to collaborating with Mercurial. My situation:

  • Another programmer changed rev 1 of a file to replace 4-space indents with 2-space indent. (I.e. change
4条回答
  •  温柔的废话
    2020-12-22 21:31

    To undo an uncommitted merge, use

    hg update --clean
    

    which will check out a clean copy of the original merge parent, losing all changes.

提交回复
热议问题