git-cliff.el
git-cliff.el copied to clipboard
Genarate and update git repository CHANGELOG.md with git-cliff
git-cliff
Generate and update changelog using git-cliff.
This package provides the interface of git-cliff, built in transient, to
generate and update changelog for project. Call git-cliff-menu to start.
Contents
- git-cliff
- Screenshot
- Install
- dependencies
- package
- Usage
- Customization
- Todo
- FAQ
- Donate
Screenshot
- Call
M-x git-cliff-menu

Install
dependencies
package
- Manually
Clone and add to load-path, require the package.
- Melpa
This package is available on MELPA. Install with M-x package-install RET git-cliff within Emacs.
Usage
;; Directly
(require 'git-cliff)
;; OPTIONAL
;; Integrate to `magit-tag'
(with-eval-after-load 'magit-tag
(transient-append-suffix 'magit-tag
'(1 0 -1)
'("c" "changelog" git-cliff-menu)))
- call
git-cliff-menu
Customization
git-cliff-extra-path: directory storing user defined presets and templates.
Todo
- [x] support range arguments
- [ ] support .org format
FAQ
-
no
--repositoryand--workdiroptions support?Actually in the earlier versions, both options are supported. However,
git-cliff-menuis designed to run in the root dir of current repository by force, which means equivalent to--workdir . --repository .always. Due to same reason, multi-value of--repositoryis disabled either ingit-cliff.el. -
no
--bodyoption support?Almost useless option, please use
--initinstead
Donate
If you think the it's helpful for you, please consider paying a cup of coffee for me. Thank you! :smile: