Skip to content

Instantly share code, notes, and snippets.

@phily245
Forked from ghinda/git-commit-csv-export.sh
Last active May 3, 2016 10:40
Show Gist options
  • Save phily245/fede3a54185d16ff03b341e9ba4065b0 to your computer and use it in GitHub Desktop.
Save phily245/fede3a54185d16ff03b341e9ba4065b0 to your computer and use it in GitHub Desktop.
git csv export of commits in the last month
git log --since='last month' --pretty=format:'%h;%an;%ad;%s' > log.csv
@phily245
Copy link
Author

phily245 commented May 3, 2016

I've amended the file location so that it can be copied and pasted directly into the git shell from Github desktop and will generate in the main folder of your project.

@phily245
Copy link
Author

phily245 commented May 3, 2016

If the file fails to open in Excel, add the following on a new line at the top of the file: sep=;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment