Created
July 3, 2011 21:07
-
-
Save anonymous/1062607 to your computer and use it in GitHub Desktop.
Git Changelog
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 | |
# Generates changelog day by day | |
echo "CHANGELOG" | |
echo "=====================================" | |
git log --no-merges --format="%cd" --date=short $1 | sort -u -r | while read DATE ; do | |
echo | |
echo [$DATE] | |
echo "---------------------------------" | |
git log --no-merges --format=" * %s%+b" --since="$DATE 00:00:00" --until="$DATE 24:00:00" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment