feat(git): Add short log aliases

Show only the last 10 entries with l_s.
This commit is contained in:
punkfairie 2024-03-10 12:55:17 -07:00
parent 65e0b41403
commit 912437c899
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -112,6 +112,13 @@
ld = log --pretty=lf --graph --cc --stat
lp = log --pretty=lf --graph --cc --patch
ls = log -10 --pretty=lc --graph
los = log -10 --pretty=lo --graph --date=human
lss = log -10 --pretty=lo --graph --date=human --simplify-by-decoration
lfs = log -10 --pretty=lf --graph
lds = log -10 --pretty=lf --graph --cc --stat
lps = log -10 --pretty=lf --graph --cc --patch
# All branches on all remotes.
la = log --pretty=lc --graph --all
lao = log --pretty=lo --graph --all --date=human
@ -120,6 +127,14 @@
lad = log --pretty=lf --graph --all --cc --stat
lap = log --pretty=lf --graph --all --cc --patch
las = log -10 --pretty=lc --graph --all
laos = log -10 --pretty=lo --graph --all --date=human
lass = log -10 --pretty=lo --graph --all --date=human --simplify-by-decoration
lafs = log -10 --pretty=lf --graph --all
lads = log -10 --pretty=lf --graph --all --cc --stat
laps = log -10 --pretty=lf --graph --all --cc --patch
# Shortcuts - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nevermind = "!git reset --hard HEAD && git clean -df"