Mercurial > hg > config
diff .gitconfig @ 864:7191914724f0
[git] update name and fix syntax
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 07 Jun 2018 14:33:07 -0700 |
parents | 7611b27e7cc3 |
children | ca1fb54c03ee |
line wrap: on
line diff
--- a/.gitconfig Thu Jun 07 13:49:20 2018 -0700 +++ b/.gitconfig Thu Jun 07 14:33:07 2018 -0700 @@ -7,8 +7,8 @@ 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 + lo = log --oneline 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