From 9f13997cf27050c59f0e501181857d12f16c86e0 Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Thu, 10 Jan 2013 12:06:45 -0600 Subject: [PATCH] [git] added day alias to show what i did today It doesn't exactly work, since it is including commits from yesterday, so it is a WIP --- git/gitconfig.symlink | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/git/gitconfig.symlink b/git/gitconfig.symlink index 7de119f..9eea7ef 100644 --- a/git/gitconfig.symlink +++ b/git/gitconfig.symlink @@ -20,6 +20,8 @@ cf = show --pretty="format:" --name-only # undo a commit undo = reset --soft + # show what I did today + day = "!sh -c 'git log --no-merges --branches=* --date=local --after=yesterday --author=\"`git config --get user.name`\"'" # stash shortcuts sp = stash pop @@ -85,4 +87,4 @@ excludesfile = ~/.gitignore_global pager = less -FXRS -x2 [rerere] - enabled = true + enabled = false