Skip to content

Instantly share code, notes, and snippets.

@arzzen
Created March 15, 2016 11:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arzzen/2f2bca4ecbab22dbb352 to your computer and use it in GitHub Desktop.
Save arzzen/2f2bca4ecbab22dbb352 to your computer and use it in GitHub Desktop.
git log date and tag csv
# output format (datetime;tag), example:
# 2016-03-07 14:54;%C;1.1.61
git log --tags --simplify-by-decoration --pretty="format:%ai%x08%x08%x08%x08%x08%x08%x08%x08%x08;%C;%d" | egrep "\(tag: [0-9]\.[0-9]+\.[0-9]+\)" | sed 's/ (tag: //' | sed 's/)//'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment