From 67ab0cfe8c3ad963a5a82f05770a50869de068c6 Mon Sep 17 00:00:00 2001 From: gb <741021719@qq.com> Date: Wed, 19 Jul 2023 10:27:52 +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}