Last active
August 29, 2015 14:08
-
-
Save sachitsac/49d42d5a6ef7d158d1a0 to your computer and use it in GitHub Desktop.
GIT Change log generator for a provided period
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
START=$1 | |
END=$2 | |
if [[ "$#" -ne 2 ]]; then | |
echo -e "Proved a start and end time using this fromat: YYYY-MM-D"; | |
exit; | |
fi | |
git log --after "$START" --before "$END" --pretty=format:"%H,%an<%ae>,%cd,%s" --date=short |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment