[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
This commit is contained in:
@@ -20,6 +20,8 @@
|
|||||||
cf = show --pretty="format:" --name-only
|
cf = show --pretty="format:" --name-only
|
||||||
# undo a commit
|
# undo a commit
|
||||||
undo = reset --soft
|
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
|
# stash shortcuts
|
||||||
sp = stash pop
|
sp = stash pop
|
||||||
@@ -85,4 +87,4 @@
|
|||||||
excludesfile = ~/.gitignore_global
|
excludesfile = ~/.gitignore_global
|
||||||
pager = less -FXRS -x2
|
pager = less -FXRS -x2
|
||||||
[rerere]
|
[rerere]
|
||||||
enabled = true
|
enabled = false
|
||||||
|
|||||||
Reference in New Issue
Block a user