On Friday, June 05, 2015 at 21:36 CEST,
Okay, but for local mirrors you'll typically want to use the mirror
manifest (and not specify a -b option).
https://source.android.com/source/downloading.html#using-a-local-mirror
> After that I have initialized the other directory
> /home/amit/aosp-master by following command(this is for KK branch)
> /repo init -u /home/efi/aosp-mirror/platform/manifest.git -b
> android-4.4.2_r1
> I have read here in several discussion about this and till now it is
> fine. I have to finally set up a local git server but I am trying to
> have hands on my client machine itself before going for local git
> server. Now my problem is if I have to add new project then how will i
> do that. Say I am adding new directory uboot then how will i add that
> to main.
Add the git to the manifest file, .repo/manifests/default.xml, commit,
and push to a branch on your server. Since you don't want to modify the
branches that you sync from upstream you need to figure out a branching
strategy for your local mirror. The following StackOverflow answer might
not be that useful in itself but contains a number of links to other
questions on this topic. Figuring out how to do this is only partially
related to Repo/Gerrit.
http://stackoverflow.com/a/30702051
--
Magnus Bäck | Software Engineer, Development Tools
magnu...@sonymobile.com | Sony Mobile Communications