Skip to content

Instantly share code, notes, and snippets.

Created July 3, 2011 21:07
Show Gist options
  • Save anonymous/1062607 to your computer and use it in GitHub Desktop.
Save anonymous/1062607 to your computer and use it in GitHub Desktop.
Git Changelog
#!/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