chore(git): add aliases

This commit is contained in:
Rob Watson 2024-08-15 05:15:35 +01:00
parent b2023a404b
commit e9416932fe
1 changed files with 2 additions and 0 deletions

View File

@ -41,8 +41,10 @@
l1 = log --oneline l1 = log --oneline
ll = log --oneline -n 5 ll = log --oneline -n 5
lp = log -p lp = log -p
lpme = logpme
lm = logme lm = logme
logme = !sh -c 'git log --author=\"$(git config --get user.name)\"' logme = !sh -c 'git log --author=\"$(git config --get user.name)\"'
logpme = !sh -c 'git log -p --author=\"$(git config --get user.name)\"'
lrb = !git log $(git drb) lrb = !git log $(git drb)
ls = !git branch --format '%(refname:short)' | fzf ls = !git branch --format '%(refname:short)' | fzf
ma = merge --abort ma = merge --abort