Skip to content

Instantly share code, notes, and snippets.

@kzap
Last active April 20, 2017 19:23
Show Gist options
  • Save kzap/de7c79210921a8776dac3029c8d1fb4a to your computer and use it in GitHub Desktop.
Save kzap/de7c79210921a8776dac3029c8d1fb4a to your computer and use it in GitHub Desktop.
Show Git Commits Across All Branches By Dates in Reverse Order (By Author Date)
# show author date and grep matching dates
git log --pretty=format:"%C(yellow)%h%Creset%C(cyan)%C(bold)%d%Creset %C(cyan)(%cr|%ai)%Creset %C(green)%aE%Creset %s" \
--all --no-merges --reverse --author="Andre" | grep -E "2017-01-(0[1-9]|1[0-9]|2[0-9]|3[0-1])"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment