1、在本地和linux 环境安装git 环境
2、在码云新建一个项目
3、本地(window) 去你要放的项目目录写
>git clone https://git@......com
>git add . //将所有本地文件添加到暂存XX
>git commit -m “今天修改了哪些bug”
>git pull
>git push origin master
>
- 在linux 系统,先通过码云的教程创建公钥,用于ssh连接
然后在进行 克隆 拉取,以及更新等操作
最后 重启apache
/usr/local/apache2/bin/apachectl restart
解释一下这个命令:-b表示要从分支下载,v2.8.1就是具体的某个分支的名称,https://git.oschina.net/oschina/android-app.git这是app源码的git仓库地址