git 命令行 修改文件 并push(阿里云)

==============安装git后的准备
https://code.aliyun.com/profile/keys
https://code.aliyun.com/help/ssh/README

==============首先将源码checkout到本地
找到你要放源码的目录,空白处 右键>>Git Bash Here,,然后执行下面命令即可获取源码

git clone git@code.aliyun.com:youproject.git

==============拿着你最新的源码 覆盖相应的yourfile.html文件,下面以 yourpath/yourfile.html 为例
git add yourpath/yourfile.html
git commit -m "add ttttt"
git push

============== 去crp.aliyun.com 执行 发布任务 即可(需要有源码的访问权限 才能发布)

https://crp.aliyun.com/projects/。。。。

原文地址:https://www.cnblogs.com/duanweishi/p/7290007.html