use better git default
This commit is contained in:
parent
65de5ca5e0
commit
1c37a176eb
1 changed files with 2 additions and 2 deletions
|
@ -34,10 +34,10 @@ autoSetupRemote = true
|
|||
adog = log --all --decorate --oneline --graph
|
||||
l = log --format=tformat:'%C(bold magenta)%h%C(reset) 🠞 %C(bold)%s%C(reset) ⋅ %C(green)<%ar>%C(reset) ⋅ %C(black)%aN%C(reset)%C(auto)%+d%C(reset)'
|
||||
lf = log --graph --format=tformat:'%C(bold yellow)%h%C(reset) %C(cyan)%aD%C(reset) %C(green)(%ar) %C(dim white)%aN%C(reset)%w(0,0,9)%n %C(bold)%s%C(auto)%+d%C(reset)%w(0,0,10)%+b'
|
||||
lg = "!f() { x=${1-0};\
|
||||
lg = "!f() { x=${1-6};\
|
||||
length=$(expr $x + 8);\
|
||||
git log --color --graph --all \
|
||||
--format=format:\"%>|($length)%C(bold blue)%h%C(reset) %C(bold green)%><(12,trunc)%ar%C(reset) %C(white)%s%C(reset) %C(black)- %an%C(reset)%C(bold yellow)%d%C(reset)\";\
|
||||
--format=format:\"%>|($length)%C(bold blue)%h%C(reset) %C(bold green)%><(15,trunc)%ar%C(reset) %s %C(black)- %an%C(reset)%C(bold yellow)%d%C(reset)\";\
|
||||
};\
|
||||
f"
|
||||
ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi"
|
||||
|
|
Loading…
Reference in a new issue