Skip to content

Instantly share code, notes, and snippets.

@Willamin
Last active October 11, 2019 20:48
Show Gist options
  • Save Willamin/3a177eda28bc12c19ea80806ac906851 to your computer and use it in GitHub Desktop.
Save Willamin/3a177eda28bc12c19ea80806ac906851 to your computer and use it in GitHub Desktop.
#!/bin/bash
AUTHOR="Will Lewis"
git log --all --date=format:'%a %Y-%m-%d' --format='%ad %aN %s' |\
rg $AUTHOR |\
awk -v i=1 'NR>1 && $1!=p { print "" }{ p=$1 } 1' |\
tail -r |\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment