better g lg
This commit is contained in:
parent
921ed354a1
commit
af4c606e75
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ lf = log --graph --format=tformat:'%C(bold yellow)%h%C(reset) %C(cyan)%aD%C(rese
|
||||||
lg = "!f() { x=${1-6};\
|
lg = "!f() { x=${1-6};\
|
||||||
length=$(expr $x + 8);\
|
length=$(expr $x + 8);\
|
||||||
git log --color --graph --all \
|
git log --color --graph --all \
|
||||||
--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)\";\
|
--format=format:\"%>|($length)%C(bold blue)%h%C(reset) %C(bold green)%><(15,trunc)%ar%C(reset)%C(bold yellow)%d%C(reset) %s - %C(red)%an%C(reset)\";\
|
||||||
};\
|
};\
|
||||||
f"
|
f"
|
||||||
ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi"
|
ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi"
|
||||||
|
|
Loading…
Reference in a new issue