Skip to content

Instantly share code, notes, and snippets.

@joshRpowell
Forked from pwenzel/git-log-to-tsv.sh
Created June 26, 2017 14:22
Show Gist options
  • Save joshRpowell/9c4ed0d05795104275687ecce9682150 to your computer and use it in GitHub Desktop.
Save joshRpowell/9c4ed0d05795104275687ecce9682150 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