path: root/Documentation/tutorial.txt
diff options
authorJunio C Hamano <>2005-11-21 21:42:55 (GMT)
committerJunio C Hamano <>2005-11-21 21:42:55 (GMT)
commitaa7f412abf605d824c7f72dbfaedd27d5429a025 (patch)
tree414f0f15131cae4e186f920ebc426fa5fa86b4d2 /Documentation/tutorial.txt
parent9f70b806920e3ea158d7e189a1ec668445c13359 (diff)
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 <>
Diffstat (limited to 'Documentation/tutorial.txt')
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/tutorial.txt b/Documentation/tutorial.txt
index 03eb421..e2dfb00 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