FR: swap
command (was known as "better tools for reordering commits part 1")
#1530
Labels
enhancement
New feature or request
A swap command could have the obvious UI:
jj swap rev1 rev2
. I'm not sure if we can do better than:rev1
will be whatever the parents ofrev2
were. This behavior would be a bit confusing for empty merge commits (which are common), so I'd disallow merge commits by default and have an option to enable it.In terms of implementation, this is related to #1188.
This is a baby version of #1531.
The text was updated successfully, but these errors were encountered: