Last active
December 11, 2015 11:28
-
-
Save lexaurin/4593509 to your computer and use it in GitHub Desktop.
How to manage changelog by git tags? Prefix tags with "v" letter and use this alias:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
changelog = "!git tag -l v* -n20 | sed -n 'H;${;g;s/\\n[^v]/\\x00/g;p}' | sort -rV | tr \\\\000 \\\\n | less" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to hroncok:
My tohle pouzivame na verzovani knihoven. Piseme srozumitelne zpravy commitu a pridavame neanotovane znacky. Pokud je popis commitu nesrozumitelny, pridame na nej znacku anotovanou. Funguje to pekne, viz ukazka: