跳转至: 导航, 搜索

Gitlab

Admin讨论 | 贡献2017年4月10日 (一) 11:07的版本

通过远程仓库克隆6.0源码包

直接clone远程仓库, 速度较慢,具体依据网络速度而定。使用如下指令克隆源码包:

git clone [1]

同步远程仓库代码

使用如下指令添加gitlab.com远程仓库:

git remote add gitlab https://gitlab.com/9tripod/x3399_marshmallow.git

使用如下指令同步远程仓库代码:

git pull gitlab master

通过远程仓库克隆7.0源码包

直接clone远程仓库, 速度较慢,具体依据网络速度而定。使用如下指令克隆源码包:

git clone [2]

同步远程仓库代码

使用如下指令添加gitlab.com远程仓库:

git remote add gitlab https://gitlab.com/9tripod/x3399_nougat.git

使用如下指令同步远程仓库代码:

git pull gitlab master