Skip to content

Instantly share code, notes, and snippets.

@andrefreitas
Last active August 29, 2015 14:21
Show Gist options
  • Select an option

  • Save andrefreitas/123925f545c2f4e11d98 to your computer and use it in GitHub Desktop.

Select an option

Save andrefreitas/123925f545c2f4e11d98 to your computer and use it in GitHub Desktop.
if [ -z "$1" ]
then
echo "usage: $0 <git repository path>"
else
touch report_$USER.txt
echo "This will take a while..."
echo "Learning with 5 commits"
schwa $1 --commits 5 -l >> report_$USER.txt
echo "Learning with 50 commits"
schwa $1 --commits 50 -l >> report_$USER.txt
echo "Learning with 100 commits"
schwa $1 --commits 100 -l >> report_$USER.txt
echo "Thank you! You are the best! Send report_$USER.txt to Andre :)"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment