服务器添加新仓库后,本地需要先更新.repo,才能同步更新代码,步骤如下:
1. cd ~/xxx/.repo/manifest
2. git fetch origin
3. git rebase origin master
4. cd ../..
5. ~/xxxx/repo sync -j4
1. cd ~/xxx/.repo/manifest
2. git fetch origin
3. git rebase origin master
4. cd ../..
5. ~/xxxx/repo sync -j4