Guide122.4K views2,514 votes0 replies1,936 following
Mercurial Histedit: Interactive History Rewriting for Clean Commits
Mercurial's histedit extension provides an interactive terminal interface for reordering, dropping, squashing, and editing commits. Enable it in .hgrc, run hg histedit on a changeset, and use commands like d, m, e, j, r, and p to manipulate your commit history before merging.