Skip to content

Commit 811dcde

Browse files
committed
Update git_push.bat
1 parent 1e2f12f commit 811dcde

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git_push.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,23 @@ echo Pushing to default remote repository...
33
git push
44
if %errorlevel% neq 0 (
55
echo Failed to push to default remote repository.
6+
pause
67
exit /b %errorlevel%
78
)
89

910
echo Pushing to upstream remote on 'main' branch...
1011
git push upstream main
1112
if %errorlevel% neq 0 (
1213
echo Failed to push to upstream remote on 'main' branch.
14+
pause
1315
exit /b %errorlevel%
1416
)
1517

1618
echo Pushing to 'upstream_gitcode' remote on 'main' branch...
1719
git push upstream_gitcode main
1820
if %errorlevel% neq 0 (
1921
echo Failed to push to 'upstream_gitcode' remote on 'main' branch.
22+
pause
2023
exit /b %errorlevel%
2124
)
2225

0 commit comments

Comments
 (0)