From fbb6fe154f1c82e14e171630298fa63faf03d4b6 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 9 Feb 2022 09:23:20 +0100 Subject: [PATCH] Add git cobf --- private_dot_gitconfig.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/private_dot_gitconfig.tmpl b/private_dot_gitconfig.tmpl index 322acfc..4f46eb9 100644 --- a/private_dot_gitconfig.tmpl +++ b/private_dot_gitconfig.tmpl @@ -29,6 +29,7 @@ praise = blame pushbranch = ! "git push -u origin $(git rev-parse --abbrev-ref HEAD)" pushu = pushbranch + cobf = ! "f() { git branch -D $1 && git switch -c $1; }; f" sw = switch swc = switch balance = blame