Skip to content

Instantly share code, notes, and snippets.

@mike623
Created April 11, 2017 02:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mike623/d459fb089d28ab7f907cb625b8f14f48 to your computer and use it in GitHub Desktop.
Save mike623/d459fb089d28ab7f907cb625b8f14f48 to your computer and use it in GitHub Desktop.
git log by date
git log --no-merges --format="%cd" --date=short | sort -u -r | while read DATE ; do
echo
echo [$DATE]
GIT_PAGER=cat git log --no-merges --format=" * %s" --since=$DATE --until=$NEXT
NEXT=$DATE
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment