Skip to content

Instantly share code, notes, and snippets.

@JoshuaKGoldberg
Last active April 3, 2020 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoshuaKGoldberg/d8500d7cc5cd9e23b494c6bf76c2bbb3 to your computer and use it in GitHub Desktop.
Save JoshuaKGoldberg/d8500d7cc5cd9e23b494c6bf76c2bbb3 to your computer and use it in GitHub Desktop.
Chart generation for TypeScript: main file
git log --pretty=format:"%h" > commits.txt
echo "Date,JavaScript,TypeScript" > output.csv
xargs < commits.txt -n 1 | xargs -I % sh -c "git reset --hard %; sh line.sh >> output.csv"
echo "Done 🎉"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment