Skip to content

Instantly share code, notes, and snippets.

@michaelminter
Created November 14, 2013 16:56
Show Gist options
  • Save michaelminter/7470287 to your computer and use it in GitHub Desktop.
Save michaelminter/7470287 to your computer and use it in GitHub Desktop.
Show today and yesterday git activity # commits log
# git today
git config --global alias.today '!git log --since=midnight --author="$(git config user.name)" --oneline'
# git yesterday
git config --global alias.yesterday '!git log --graph --all --since="day.before.yesterday.midnight" --until=midnight --author="$(git config user.name)" --oneline'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment