Mercurial > hg > config
diff .gitconfig @ 792:0aa1d72ef538
add log graph alias
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Wed, 05 Oct 2016 13:50:55 -0700 |
parents | fa3ad63ec3a3 |
children | 446107608d89 |
line wrap: on
line diff
--- a/.gitconfig Tue Oct 04 11:05:20 2016 -0700 +++ b/.gitconfig Wed Oct 05 13:50:55 2016 -0700 @@ -7,6 +7,7 @@ branches = branch -a branchname = git rev-parse --abbrev-ref HEAD discard = reset HEAD --hard + graph = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd)%Creset' --abbrev-commit --date=relative patch = !git diff > ~/$(git rev-parse --abbrev-ref HEAD).diff pushbranch = !git push origin $(git rev-parse --abbrev-ref HEAD) root = rev-parse --show-toplevel