Rudy’s OBTF Rudolf Adamkovič

Home / Emacs / Magit / Tips


How to generate changelog for existing commit

With a clean magit-status 1:

  1. Move the point to the commit.
  2. Revert changes with r.
  3. Initiate the commit with c c.
  4. Execute M-x magit-generate-changelog RET.
  5. Copy the generate changelog.
  6. Cancel the commit with C-c C-k.
  7. Reset back to the clean magit-status.

Footnotes:

1

Perhaps on a temporary branch.


© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.