-1

imagine this scenario:
- Commit some work with e.g. "Added xy-option".
- After, you realize, that you have forgotten one little detail.
- You add the detail and commit again with "Added xy-option".
- You do some other changes and commit.
- Later you don't like the 2-step commit for xy-option.

So how can one cut out the first commit from history so that in result the changeset for the 2nd commit includes the changes of both?

1 Answer 1

0
  • hg help commit - --amend option (when you commit second changeset)
  • hg help -e histedit - fold command
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.