Skip to content

Instantly share code, notes, and snippets.

@tdammy92
Forked from adamthebig/git-commit-log.sh
Created January 28, 2024 12:09
Show Gist options
  • Save tdammy92/d67fa459834acca837fd3839721e8e5c to your computer and use it in GitHub Desktop.
Save tdammy92/d67fa459834acca837fd3839721e8e5c to your computer and use it in GitHub Desktop.
Export commits from a git repo into a pretty spreadsheet (CSV)
git log --pretty=format:'"%h","%an","%aD","%s",' --shortstat --no-merges | paste - - - > log.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment