From: jidanni@jidanni.org Date: Sun, 01 Feb 2009 23:42:51 GMT Subject: Re: [PATCH,v2] git-bundle(1): add no references required simplest case Message-ID: <87pri12078.fsf@jidanni.org> In-Reply-To: <87tz7i6scg.fsf_-_@jidanni.org> Words totally by Junio C Hamano. Signed-off-by: jidanni --- Junio: I used your words. You might have missed this patch. Resending. Documentation/git-bundle.txt | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/Documentation/git-bundle.txt b/Documentation/git-bundle.txt index 1b66ab7..42c2abc 100644 --- a/Documentation/git-bundle.txt +++ b/Documentation/git-bundle.txt @@ -164,6 +164,22 @@ $ git pull bundle would treat it as if it is talking with a remote side over the network. +A complete bundle is one that does not require you to have any +prerequisite object for you to extract its contents. Not only you +can fetch/pull from a bundle, you can clone from a complete bundle +as if it was a remote repository, like this: + +---------------- +$ git clone /home/me/tmp/file.bdl mine.git +---------------- + +This will define a remote called "origin" in the resulting +repository that lets you fetch and pull from the bundle, just +like the previous example lets you do with the remote called +"bundle", and from then on you can fetch/pull to update the +resulting mine.git repository after replacing the bundle you store +at /home/me/tmp/file.bdl with incremental updates. + Author ------ Written by Mark Levedahl -- 1.6.0.6