git-changelog
Create a markdown change log from your git repository (without GitHub).
Install
Installing with the setup script
The simplest way to install, is to run the installation script:
$ curl -Ls get.dannyb.co/git-changelog/setup | bash
It will:
- Download the executable to
/usr/local/bin/git-changelog
- Download the manpage to
/usr/local/share/man/man1/git-changelog.1
Installing manually
If you prefer to install manually:
- Download the git-changelog file, place it somewhere in
your path (for example
/usr/local/bin
), and make it executable. - Optionally, download the manpage and place it in
/usr/local/share/man/man1
.
Example
The changelog in this repository was generated with
git changelog
.
Usage
Run git changelog
in any compatible git repository. It will print a
markdown change log using these rules:
- Group
git log
events by tag - Only include tags that either:
- Start with the letter
v
followed by a digit (v1.2.3
) - Start with a digit (
1.2.3
)
- Start with the letter
- Only include log events that start with a hyphen followed by a space
(
"- Fixed something"
)
Uninstalling
$ curl -Ls get.dannyb.co/git-changelog/uninstall | bash
Contributing / Support
If you experience any issue, have a question or a suggestion, or if you wish to contribute, feel free to open an issue.