From 12ec4711ed600e99922f1cd82d7e655ad4a5e698 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Wed, 22 Apr 2020 11:52:50 -0400 Subject: [PATCH] Added git rebase alias function --- .bash_aliases | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bash_aliases b/.bash_aliases index 258cba8..78f6475 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -55,6 +55,10 @@ function gd() { git diff HEAD~$1 } +function rebase() { + git rebase -i HEAD~$1 +} + # Docker shortcuts function inspect() { docker inspect "$1" | less