From 70bcce00bbdd28de2c4d0967b2812185608aceab Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 16 Dec 2021 19:46:21 +0100 Subject: [PATCH] bash: gcb --- .bash_extra | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.bash_extra b/.bash_extra index b5fa250..1e414db 100644 --- a/.bash_extra +++ b/.bash_extra @@ -134,7 +134,10 @@ function gcm { # übergibt alle argumente an git commit -m als commit nachricht git commit -m "$*" } - +function gcb { + # git checkout -b lokalername origin/remotename + git checkout -b $1 origin/$1 +} ### Aliase