From: Junio C Hamano Date: Mon, 21 Nov 2005 21:42:55 +0000 (-0800) Subject: tutorial: setting up a tree for subsystem maintainers X-Git-Tag: v0.99.9k^2~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aa7f412abf605d824c7f72dbfaedd27d5429a025;p=git.git tutorial: setting up a tree for subsystem maintainers The "copying over packs" step is to prevent the objects available in upstream repository to get expanted in the subsystem maintainer tree, and is still valid if the upstream repository do not live on the same machine. But if they are on the same machine using objects/info/alternates is cleaner. Signed-off-by: Junio C Hamano --- diff --git a/Documentation/tutorial.txt b/Documentation/tutorial.txt index 03eb4216f..e2dfb00ab 100644 --- a/Documentation/tutorial.txt +++ b/Documentation/tutorial.txt @@ -1534,7 +1534,10 @@ on that project and has an own "public repository" goes like this: the "project lead" person does. 3. Copy over the packed files from "project lead" public - repository to your public repository. + repository to your public repository, unless the "project + lead" repository lives on the same machine as yours. In the + latter case, you can use `objects/info/alternates` file to + point at the repository you are borrowing from. 4. Push into the public repository from your primary repository. Run `git repack`, and possibly `git prune` if the