gitweb: Support for snapshot
[gitweb.git] / Documentation / git-tar-tree.txt
index 7a99acf2ec92f9bbab84b664d10bb442482c4911..1e1c7fa856a2b80bb839da805aa57d43f65f968e 100644 (file)
@@ -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.