git: Add aliases for production and staging

This commit is contained in:
Oliver Davies 2020-07-30 01:13:16 +01:00
parent 41d320fc67
commit 18e81f9bd6

View file

@ -30,9 +30,12 @@
ri = rebase --interactive ri = rebase --interactive
rid = !git rebase -i $(git merge-base develop HEAD) rid = !git rebase -i $(git merge-base develop HEAD)
rim = !git rebase -i $(git master-to-main-wrapper merge-base %BRANCH% HEAD) rim = !git rebase -i $(git master-to-main-wrapper merge-base %BRANCH% HEAD)
rip = !git rebase -i $(git merge-base production HEAD)
ris = !git rebase -i $(git merge-base staging HEAD)
riu = !git rebase -i $(git rev-parse --abbrev-ref --symbolic-full-name @{u}) riu = !git rebase -i $(git rev-parse --abbrev-ref --symbolic-full-name @{u})
sl = log --oneline --decorate -20 sl = log --oneline --decorate -20
sla = log --oneline --decorate --graph --all -20 sla = log --oneline --decorate --graph --all -20
slap = log --oneline --decorate --graph --all slap = log --oneline --decorate --graph --all
slp = log --oneline --decorate slp = log --oneline --decorate
staged = diff --staged staged = diff --staged