git一键提交文件到远程仓库

建立一个.bat文件

第一种:直接提交,没有提交说明的方法
git add .
git commit -m "update"
git push

第二种:运行到第二步直接输入提交说明的方法
git add .
echo;
set /p declation=提交说明:
git commit -m "%declation%"
git push

猜你喜欢

转载自blog.csdn.net/qq_34530048/article/details/83791138
今日推荐