From 5c619c4d0133e8055260c74cb501d293f2cab80b Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Tue, 10 Aug 2021 15:46:12 -0700 Subject: [PATCH] maint: git switch --- git/gitconfig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/git/gitconfig b/git/gitconfig index bc6843d..28da453 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -42,8 +42,11 @@ d = diff dc = diff --cached s = status -s - co = checkout - cob = checkout -b + # TODO: drop when ready + # co = checkout + # cob = checkout -b + sw = switch + swc = switch -c # list branches sorted by last modified b = "!git for-each-ref --sort='-authordate' --format='%(authordate)%09%(objectname:short)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'" # list aliases