From 843e1c6d2017b1a761ff1c67af95db23db55b570 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Mon, 28 Mar 2022 10:51:53 +0100 Subject: [PATCH] Added git co alias Signed-off-by: Marcus Noble --- home/.dotfiles/aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/.dotfiles/aliases b/home/.dotfiles/aliases index fcf00dc..d304842 100644 --- a/home/.dotfiles/aliases +++ b/home/.dotfiles/aliases @@ -61,6 +61,9 @@ git() { elif [ "$1" = "commit" ]; then # Sign all commits shift _git commit -s $@ + elif [ "$1" = "co" ]; then # Sign all commits + shift + _git checkout -b $@ else _git $@ fi