improve dpush

main
Dominik Madarász 2023-10-11 19:40:58 +02:00
parent a9701c31f0
commit 67d5cdad7e
1 changed files with 2 additions and 0 deletions

View File

@ -175,12 +175,14 @@ if "%1"=="dpush" (
popd popd
if not "%2"=="noroot" ( if not "%2"=="noroot" (
git stash
git add depot git add depot
git commit -m "sync depot" git commit -m "sync depot"
if not "%3"=="local" ( if not "%3"=="local" (
git pull git pull
git push git push
) )
git stash pop
) )
exit /b exit /b