From 45da1c4dd10139cc56f01773319fdbce971a88b1 Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Mon, 15 Jan 2024 19:28:15 -0800 Subject: [PATCH] Add `git rebase -` alias Similar to 564979b0c7ecc041113dca3ad19588f769a3e3a3, it's fairly often that I'm rebasing on a previous branch like after updating a local master branch. --- src/.gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/.gitconfig b/src/.gitconfig index 596b468..2620f9e 100644 --- a/src/.gitconfig +++ b/src/.gitconfig @@ -34,6 +34,7 @@ pullrsurp = !git pull --rebase && git submodule update --recursive && git push reauthor = "!git commit --amend --no-edit --author=\"$(git config user.name) <$(git config user.email)>\"" reword = commit --amend + r- = rebase - shortstat = diff --shortstat stat = diff --stat sur = submodule update --recursive