Skip to content

Instantly share code, notes, and snippets.

@etscrivner
Created May 6, 2019 22:53
Show Gist options
  • Save etscrivner/4659b7644b1ecbcdb10301abe60f3187 to your computer and use it in GitHub Desktop.
Save etscrivner/4659b7644b1ecbcdb10301abe60f3187 to your computer and use it in GitHub Desktop.
set title 'Change Frequency By File'
set ylabel '# Changes'
set xlabel 'File'
plot 'output.txt' using 0:1
#!/bin/bash
echo "Changes File" > output.txt
git log --format=format: --name-only | egrep -v '^$' | sort | uniq -c | sort -nr | sed -e 's/^[ \t]*//' >> output.txt
gnuplot -e "load 'plot.gnu'" -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment