@matheusbsbs / matheus-bagliano / commits / b63fafdfd8
Fork 0

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>

Johannes Schindelin committed Jul 31, 2006 at 02:26 UTC b63fafdfd844c2037fba53b9944431c1378b4135
1 file changed +5
Documentation/git-tar-tree.txt
+5
@@ -71,6 +71,11 @@ git tar-tree --remote=example.com:git.git v1.4.0 >git-1.4.0.tar::
71
72 Get a tarball v1.4.0 from example.com.
73
74 +git tar-tree HEAD:Documentation/ git-docs > git-1.4.0-docs.tar::
75 +
76 + Put everything in the current head's Documentation/ directory
77 + into 'git-1.4.0-docs.tar', with the prefix 'git-docs/'.
78 +
79 Author
80 ------
81 Written by Rene Scharfe.