From 083810dc046198fd797942dd5f732b85a55f9ba2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Wed, 20 Sep 2023 13:56:01 +0200 Subject: [PATCH] Added into a gswitch new command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .local/bin/gswitch | 1 + 1 file changed, 1 insertion(+) diff --git a/.local/bin/gswitch b/.local/bin/gswitch index f26835d..cebc8af 100755 --- a/.local/bin/gswitch +++ b/.local/bin/gswitch @@ -4,3 +4,4 @@ git checkout -b "$BRANCH" git checkout "$BRANCH" git branch --set-upstream-to=origin/"$BRANCH" "$BRANCH" git pull +git reset --hard origin/"$BRANCH"