How to generate changelog for existing commit
With a clean magit-status 1:
- Move the point to the commit.
- Revert changes with
r. - Initiate the commit with
c c. ExecuteNowM-x magit-generate-changelog RET.C-c C-ifollowed byl g(git-commit-insert-changelog-gnu)- Copy the generate changelog.
- Cancel the commit with
C-c C-k. - Reset back to the clean
magit-status.
I now recommend the new alternatives, , which use Magit’s own implementation and are accessible from the same transient menu used to insert commit trailers (`git-commit-insert-trailer` on `C-c C-i` (hm, maybe I should rename that now)).
Footnotes:
1
Perhaps on a temporary branch.