Skip to content

kopsha/tacitus-notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tacitus-notes

Publius Cornelius Tacitus was a Roman historian and politician. And quite recently, he started writing notes on our git repositories.

the dream

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

shellscript version

git describe --tags --abbrev=0
git log $(git describe --tags --abbrev=0)..HEAD --oneline

python version

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>