Skip to content

Commit

Permalink
Fix standup commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Tingen authored and matt-tingen committed Mar 7, 2020
1 parent 88eff31 commit 05db5e7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitconfig
Expand Up @@ -46,8 +46,9 @@
recent = "for-each-ref --count=12 --sort=-committerdate refs/heads/ --format=\"%(refname:short)\""
# Checkout nth most recently committed
cor = "!select br in $(git recent); do git co $br; break; done"
today = "!git log --since=midnight --author=\"$(git config user.name)\" --oneline"
yesterday = "!git log --since="yesterday.midnight" --until=midnight --author=\"$(git config user.name)\" --oneline"
logrecent = "!git log --branches --date='format:%R' --format='%Cgreen%ad%Creset %s' --author=\"$(git config user.name)\""
today = "logrecent --since=midnight"
yesterday = "logrecent --since="yesterday.midnight" --until=midnight"
msg = "log --format=%B -n 1"
wip = !sh -c 'git add . && git commit -nm \"WIP $1\"' -
# Undo a "WIP" commit, staging the changes
Expand Down

0 comments on commit 05db5e7

Please sign in to comment.