How to get rid of some changeset in Hg?

前端 未结 5 1254
青春惊慌失措
青春惊慌失措 2020-12-29 14:50

Hey, I want to revert some changesets in Hg but I\'m having a hard time doing so.

I commited some changes by accident, so I wanted to undo that. After trying a littl

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-29 15:16

    Not certain about the git things, but if you haven't pushed, you can use hg rollback. If you have pushed, there's not really anything decent you can do about it.

    As for the current revision, see hg id.

提交回复
热议问题