2 Star 4 Fork 0

名字/xiuxian-plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
主分支更新.bat 724 Bytes
一键复制 编辑 原始数据 按行查看 历史
名字 提交于 2024-04-04 09:32 . 更新
@echo off
setlocal enabledelayedexpansion
chcp 65001
echo 正在提交修改...
set /P COMMIT_MSG=请输入提交信息:
chcp 65001 >nul
git add .
git commit -m "%COMMIT_MSG%"
echo 正在推送到Gitee...
git push origin master --progress > push.tmp
echo.
echo 推送进度:
for /F "tokens=1,2,3,4" %%a in ('type push.tmp ^| findstr /i "objects") do (
set percentage=%%b
set transferred=%%c
set total=%%d
)
set /A progress=percentage * 50 / 100
echo [ ]
echo [**************************************************]
for /L %%i in (1,1,%progress%) do (
call :print_char
)
echo.
del push.tmp
echo 完成
endlocal
exit /b
:print_char
set /p "=" < nul
exit /b
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xyb12345678qwe/xiuxian-plugin.git
git@gitee.com:xyb12345678qwe/xiuxian-plugin.git
xyb12345678qwe
xiuxian-plugin
xiuxian-plugin
master

搜索帮助