浏览代码

update clone&pull tool.bat

arthur.wu 3 年之前
父节点
当前提交
8eb7a6a51e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      clone&pull tool.bat

+ 1 - 1
clone&pull tool.bat

@@ -31,7 +31,7 @@ if %pullnum% equ 0 (
 		cd %%i			
 		if exist *.git (
 			echo ---------------------- %%i ----------------------
-			chdir && git pull
+			chdir && git stash>nul && git pull && git stash pop>nul
 		)
 		cd ..
 	)