代码拉取完成,页面将自动刷新
title GIT提交批处理 凌惊雪
color 2f
@echo off
echo *************************************************************
echo * GIT 代码提交批处理 *
echo * Author: 凌惊雪 *
echo * Version: 1.0 *
echo * Created: 2020/08/05 *
echo * Last Updated by: 凌惊雪 *
echo *************************************************************
echo;
echo;
echo 开始提交代码到本地仓库
echo 当前目录是:%cd%
echo;
echo;
echo 开始识别当前git的版本
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
git --version
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo;
echo;
echo 开始添加变更
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
git add -A
echo 执行结束!
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo;
echo 提交变更到本地仓库
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
git commit -m "修改代码"
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo;
echo 将变更情况提交到远程git服务器
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
git push origin master
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo;
echo 批处理执行完毕!
echo;
pause
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。