1 Star 0 Fork 192

panbin2006/GeneralUpdate

forked from General/GeneralUpdate 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
git_push.bat 759 Bytes
一键复制 编辑 原始数据 按行查看 历史
Juster Zhu 提交于 2025-01-08 16:07 +08:00 . update readme
@echo off
git remote -v
set /p commitmessage=Git commit message:
git add .
git commit -m "%commitMessage%"
echo Pushing to default remote repository...
git push
if %errorlevel% neq 0 (
echo Failed to push to default remote repository.
pause
exit /b %errorlevel%
)
echo Pushing to upstream remote on 'master' branch...
git push upstream master
if %errorlevel% neq 0 (
echo Failed to push to upstream remote on 'main' branch.
pause
exit /b %errorlevel%
)
echo Pushing to 'upstream_gitcode' remote on 'master' branch...
git push upstream_gitcode master
if %errorlevel% neq 0 (
echo Failed to push to 'upstream_gitcode' remote on 'main' branch.
pause
exit /b %errorlevel%
)
echo All pushes completed successfully.
pause
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/panbin2006/GeneralUpdate.git
git@gitee.com:panbin2006/GeneralUpdate.git
panbin2006
GeneralUpdate
GeneralUpdate
master

搜索帮助