repo
repo
example
mkdir ~/bin
export PATH=~/bin:$PATH
curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo > ~/bin/repo
chmod a+x ~/bin/repo
export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo'
$ repo init -u git@git.url/project_repo.git -b PROJECT_BRANCH --repo-url=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo
$ repo sync
$ repo forall -c "git checkout -b PROJECT_BRANCH origin/PROJECT_BRANCH "
repo init -u git@git.url/manifests.git -m project.xml
repo sync
repo list
repo status
repo forall -c "git status"
refernece:
git repo工具详细使用教程
http://blog.fpliu.com/it/software/repo
https://www.litreily.top/2022/02/24/gitlab-repo/