Skip to content

Instantly share code, notes, and snippets.

@paolodina
Forked from pwenzel/git-log-to-tsv.sh
Created July 12, 2017 21:35
Show Gist options
  • Save paolodina/7bf89afdfad9362f98b6f9d47aebd4c5 to your computer and use it in GitHub Desktop.
Save paolodina/7bf89afdfad9362f98b6f9d47aebd4c5 to your computer and use it in GitHub Desktop.
Git Log to Tab-Delimited CSV File
# Local Dates:
git log --date=local --pretty=format:"%h%x09%an%x09%ad%x09%s" > commits.local.tsv.txt
# ISO Dates:
git log --date=iso --pretty=format:"%h%x09%an%x09%ad%x09%s" > commits.iso.tsv.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment