Publius Cornelius Tacitus was a Roman historian and politician. And quite recently, he started writing notes on our git repositories.
Walk through git log, up to last tag or target commit, and collect each commit message in a markdown format:
- prettify it,
- replace ticket numbers with urls
- print on console
git describe --tags --abbrev=0
git log $(git describe --tags --abbrev=0)..HEAD --oneline
First, install the tiny script:
$ pip install tacitus-notes
Then, run this command in your project directory and see what happens:
$ tacitus-notes
You can use --first
and --last
arguments to define ranges
$ tacitus-notes --first=<commit_hash> --last=<commit_hash>