浏览代码

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