소스 검색

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