Search code examples
gitrepo

repo : checking out source code from existing .repo directory without additional download


I've copied a .repo directory from one of the desktops and I want to checkout the complete source code.

Now how do I checkout the entire source code without using "repo sync" command ?

I have previously downloaded the code using the following command

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

Solution

  • Looks like repo sync --local-only is doing job for me.