Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
tar-tree: illustrate an obscure feature better
author
Johannes Schindelin
<Johannes.Schindelin@gmx.de>
Mon, 31 Jul 2006 00:26:27 +0000
(
02:26
+0200)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 31 Jul 2006 01:18:13 +0000
(18:18 -0700)
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>
Documentation/git-tar-tree.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
0347a8c
)
diff --git
a/Documentation/git-tar-tree.txt
b/Documentation/git-tar-tree.txt
index 7a99acf2ec92f9bbab84b664d10bb442482c4911..1e1c7fa856a2b80bb839da805aa57d43f65f968e 100644
(file)
--- 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.