【repo系列】repo常用命令的使用

前言

repo是一种代码版本管理工具,它是由一系列的Python脚本组成,封装了一系列的Git命令,用来统一管理多个Git仓库。
本文章描述repo常用命令的使用。

常用命令

初始化

repo init

初始化代码仓

repo init [options]

常用options:
-u URL, --manifest-url=URL manifest repository location
-b REVISION, --manifest-branch=REVISION manifest branch or revision
-m NAME.xml, --manifest-name=NAME.xml initial manifest file
-g GROUP, --groups=GROUP restrict manifest projects to ones with specified
–no-clone-bundle disable use of /clone.bundle on HTTP/HTTPS
–no-tags don’t fetch tags in the manifest
–no-repo-verify do not verify repo source code
–repo-branch=REVISION repo branch or revision
例如:

repo init -u http://xxx.com/xxx.git -b master -m default.xml -g release --no-repo-verify --repo-branch=stable_py3
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值