瀏覽代碼

Saving changes before switching to branch dev

cdmoss 2 年之前
父節點
當前提交
23f8a08a7f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      switchtobranch.sh

+ 1 - 1
switchtobranch.sh

@@ -27,7 +27,7 @@ if [ "$answer" == "Q" ] || [ "$answer" == "q" ]; then
 fi
 echo "Switching to branch $1...";
 checkoutresult=`git checkout $1`;
-
+echo $checkoutresult
 if [ "$checkoutresult" == "Switched to branch $1" ]; then
     echo "Switched to branch $1";
 fi