From 564979b0c7ecc041113dca3ad19588f769a3e3a3 Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Thu, 1 Jun 2023 16:05:26 -0700 Subject: [PATCH] Add `git checkout -` alias --- src/.gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/.gitconfig b/src/.gitconfig index 7d65edb..596b468 100644 --- a/src/.gitconfig +++ b/src/.gitconfig @@ -14,6 +14,7 @@ [ $# -ne 2 ] && echo 'Two arguments required, PR # and branch name' && exit 1; \ git fetch upstream pull/$1/head:$2-$1 && git checkout $2-$1 && git merge master --no-gpg-sign --no-edit; \ }; f" + c- = checkout - diffc = diff --cached fixup = commit --amend --no-edit fixup-a = commit -a --amend --no-edit