From 753b074ede12fd5f9102d194d3119b69687f784a Mon Sep 17 00:00:00 2001 From: gb <741021719@qq.com> Date: Wed, 19 Jul 2023 10:29:20 +0800 Subject: [PATCH] fix parameter --- switch-branch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/switch-branch.sh b/switch-branch.sh index f207d7a..6b0a836 100644 --- a/switch-branch.sh +++ b/switch-branch.sh @@ -1,3 +1,3 @@ -git checkout $1 -git pull origin $1 +git checkout ${1} +git pull origin ${1}