Преглед изворни кода

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 ..
 	)