Skip to content

Commit

Permalink
tar-tree: illustrate an obscure feature better
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Schindelin authored and Junio C Hamano committed Jul 31, 2006
1 parent 0347a8c commit b63fafd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/git-tar-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b63fafd

Please sign in to comment.