git repo tips - githeim/windheim_archive GitHub Wiki

Local Manifest Test

Before uploading(push) the manifest file, it needs to be tested. This is the method what you can test the manifest file locally.

Edit your manifest file, then

repo init -m (absoulte path)/.repo/manifests/yourpath/yourmanifestfile.xml

repo init -m ${PWD}/.repo/manifests/yourpath/yourmanifestfile.xml

repo sync

repo init error problem

Downloading  Repo  source  from  https: //gerrit . googlesource . com /git-repo 
fatal:  Cannot  get  https: //gerrit . googlesource . com/the repo-Git /clone . the bundle 

modify .bashrc

export PATH = ~ / bin : $PATH
export REPO_URL = 'https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'