Mercurial > hg > config
changeset 863:7611b27e7cc3
add an alias for oneline logs
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 07 Jun 2018 13:49:20 -0700 |
parents | e300310bb98c |
children | 7191914724f0 |
files | .gitconfig |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.gitconfig Mon Jun 04 15:35:03 2018 -0700 +++ b/.gitconfig Thu Jun 07 13:49:20 2018 -0700 @@ -7,6 +7,7 @@ branches = branch -a current-branch = rev-parse --abbrev-ref HEAD discard = reset HEAD --hard + ll = git log --oneline 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)