gg histedit [options] [UPSTREAM]
interactively edit revision history
This command lets you interactively edit a linear series of commits.
histedit, it will open your editor to plan the series
of changes you want to make. You can reorder commits, or use the
actions listed in the plan comments.
git rebase -i, continuing a
histedit will automatically
amend the current commit if any changes are made. In most cases,
you do not need to run
commit --amend yourself.
- abort an edit already in progress
- continue an edit already in progress
- edit remaining actions list
- -exec command
- execute the shell command after each line creating a commit (can be specified multiple times)