Skip to content

Instantly share code, notes, and snippets.

@aghwotu
Forked from adamthebig/git-commit-log.sh
Created January 15, 2025 09:54
Show Gist options
  • Save aghwotu/0b1122accf17ac88c100475035f02ea0 to your computer and use it in GitHub Desktop.
Save aghwotu/0b1122accf17ac88c100475035f02ea0 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