use better git default

This commit is contained in:
Daylin Morgan 2023-09-18 13:08:40 -05:00
parent 65de5ca5e0
commit 1c37a176eb
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -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"