简体   繁体   English

如果在回购同步后执行回购init,会发生什么情况?

[英]What happens if I do repo init after repo sync?

I have an already synced repo. 我已经有一个同步的仓库。 What happens if I do repo init now and then a repo sync? 如果我现在执行回购初始化然后进行回购同步,会发生什么情况? Will everything be downloaded from the beginning? 是否会从头开始下载所有内容?

Repo may not allow you to do a repo init in a directory already containing a .repo directory. 存储库可能不允许您在已经包含.repo目录的目录中执行存储库初始化。 Instead, I'd recommend creating a new directory, and then proceeding to call repo init and repo sync. 相反,我建议创建一个新目录,然后继续调用repo init和repo sync。 The newly created directory will then contain everything "from the beginning". 然后,新创建的目录将“从头开始”包含所有内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM