Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git repo:从现有的.repo目录中检出源代码,无需额外下载_Git_Repo - Fatal编程技术网

Git repo:从现有的.repo目录中检出源代码,无需额外下载

Git repo:从现有的.repo目录中检出源代码,无需额外下载,git,repo,Git,Repo,我已经从一个桌面复制了一个.repo目录,我想签出完整的源代码 现在如何在不使用“reposync”命令的情况下签出整个源代码 我以前使用以下命令下载了代码 repo init -u <URL> -b <x> -m <tag> --repo-url=git://xxx/repo.git repo init-u-b-m——repo url=git://xxx/repo.git 如果你想避免联网,我认为没有什么比: repo forall -c git che

我已经从一个桌面复制了一个.repo目录,我想签出完整的源代码

现在如何在不使用“reposync”命令的情况下签出整个源代码

我以前使用以下命令下载了代码

repo init -u <URL>  -b <x> -m <tag> --repo-url=git://xxx/repo.git
repo init-u-b-m——repo url=git://xxx/repo.git

如果你想避免联网,我认为没有什么比:

repo forall -c git checkout <tag>
repo forall-c git签出

如果你想避免联网,我认为没有什么比:

repo forall -c git checkout <tag>
repo forall-c git签出

看起来像是
repo-sync--local-only
在为我工作。

看起来像是
repo-sync--local-only
在为我工作。

不工作。上面写着“跳过xyz/abc”。我正在使用“”中“标记/生成ID”列下的一个标记不工作。上面写着“跳过xyz/abc”。我正在使用“”中“标记/生成ID”列下的一个标记