0

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

hg rollback
MSalters
  • 173,980
  • 10
  • 155
  • 350
  • 1
    Possible duplicate of [Mercurial: how to undo last unpushed commit?](https://stackoverflow.com/questions/31223639/mercurial-how-to-undo-last-unpushed-commit) – StayOnTarget Oct 09 '19 at 12:35

1 Answers1

0
  1. Enable strip extension
  2. Read hg help strip
  3. Strip bad commit
Lazy Badger
  • 94,711
  • 9
  • 78
  • 110