From: Johannes Schindelin Date: Mon, 31 Jul 2006 00:26:27 +0000 (+0200) Subject: tar-tree: illustrate an obscure feature better X-Git-Tag: v1.4.2-rc3~29 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b63fafdfd844c2037fba53b9944431c1378b4135;p=git.git tar-tree: illustrate an obscure feature better Since you can tar just a subdirectory of a certain revision, tell the users so, by showing an example how to do it. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-tar-tree.txt b/Documentation/git-tar-tree.txt index 7a99acf2e..1e1c7fa85 100644 --- a/Documentation/git-tar-tree.txt +++ b/Documentation/git-tar-tree.txt @@ -71,6 +71,11 @@ git tar-tree --remote=example.com:git.git v1.4.0 >git-1.4.0.tar:: Get a tarball v1.4.0 from example.com. +git tar-tree HEAD:Documentation/ git-docs > git-1.4.0-docs.tar:: + + Put everything in the current head's Documentation/ directory + into 'git-1.4.0-docs.tar', with the prefix 'git-docs/'. + Author ------ Written by Rene Scharfe.