From 18e81f9bd612cfe02a76d9df39f26bdb10af9ac9 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 30 Jul 2020 01:13:16 +0100 Subject: [PATCH] git: Add aliases for production and staging --- tag-git/gitconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tag-git/gitconfig b/tag-git/gitconfig index 319081b3..315f9283 100644 --- a/tag-git/gitconfig +++ b/tag-git/gitconfig @@ -30,9 +30,12 @@ ri = rebase --interactive rid = !git rebase -i $(git merge-base develop 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}) sl = log --oneline --decorate -20 sla = log --oneline --decorate --graph --all -20 + slap = log --oneline --decorate --graph --all slp = log --oneline --decorate staged = diff --staged