Mercurial undo last commit

后端 未结 8 760
既然无缘
既然无缘 2020-12-02 06:11

How can I undo my last accidentally commited (not pushed) change in Mercurial?

If possible, a way to do so with TortoiseHg would be prefered.

Update<

8条回答
  •  心在旅途
    2020-12-02 06:40

    Its workaround.

    If you not push to server, you will clone into new folder else washout(delete all files) from your repository folder and clone new.

提交回复
热议问题