3 ms·
Thanks for pointing this out. I confirmed that you can reword a commit without checking it out, with the caveats: - It has to be an ancestor of `HEAD`, like yo
by arxanas 4y ago
Thanks for pointing this out. I confirmed that you can reword a commit without checking it out, with the caveats:
- It has to be an ancestor of `HEAD`, like you said.
- Doing so doesn't invoke Git's `post-rewrite` hook, which can cause interoperability issues with other tools :(
- Doing so will abandon at least some descendant branches (possibly all descendant branches which aren't checked out, or possibly just those which branch aren't ancestors of `HEAD`).
- Doing so doesn't seem to be undoable inside Sublime Merge via the undo command.