summaryrefslogtreecommitdiff
path: root/Documentation/git-tar-tree.txt
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2006-07-31 00:26:27 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-31 01:18:13 (GMT)
commitb63fafdfd844c2037fba53b9944431c1378b4135 (patch)
tree676eee69565e663d62fbc9b96a502f05774ba3ec /Documentation/git-tar-tree.txt
parent0347a8c7648ea9504badce7bb4ed4c4f3dbacf16 (diff)
downloadgit-b63fafdfd844c2037fba53b9944431c1378b4135.zip
git-b63fafdfd844c2037fba53b9944431c1378b4135.tar.gz
git-b63fafdfd844c2037fba53b9944431c1378b4135.tar.bz2
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 <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-tar-tree.txt')
-rw-r--r--Documentation/git-tar-tree.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-tar-tree.txt b/Documentation/git-tar-tree.txt
index 7a99acf..1e1c7fa 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.