Browse Source

update clone&pull tool.bat

arthur.wu 3 năm trước cách đây
mục cha
commit
8eb7a6a51e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 ..
 	)