We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1efc3a3 commit 1e2f12fCopy full SHA for 1e2f12f
git_push.bat
@@ -0,0 +1,24 @@
1
+@echo off
2
+echo Pushing to default remote repository...
3
+git push
4
+if %errorlevel% neq 0 (
5
+ echo Failed to push to default remote repository.
6
+ exit /b %errorlevel%
7
+)
8
+
9
+echo Pushing to upstream remote on 'main' branch...
10
+git push upstream main
11
12
+ echo Failed to push to upstream remote on 'main' branch.
13
14
15
16
+echo Pushing to 'upstream_gitcode' remote on 'main' branch...
17
+git push upstream_gitcode main
18
19
+ echo Failed to push to 'upstream_gitcode' remote on 'main' branch.
20
21
22
23
+echo All pushes completed successfully.
24
+pause
0 commit comments