git-svn: documented --ignore-paths

Documented --ignore-paths option of git-svn to inform users about
the feature and provide some examples.

Signed-off-by: Vitaly "_Vi" Shukela <public_vi@tut.by>
Acked-by: Eric Wong <normalperson@yhbt.net>

[ew: trailing whitespace removed]
maint
Vitaly \"_Vi\" Shukela 2009-01-26 00:21:41 +02:00 committed by Eric Wong
parent edc662f929
commit 6076b843a0
1 changed files with 13 additions and 0 deletions

View File

@ -103,6 +103,19 @@ repository to be able to interoperate with someone else's local Git
repository, either don't use this option or you should both use it in repository, either don't use this option or you should both use it in
the same local timezone. the same local timezone.


--ignore-paths=<regex>;;
This allows one to specify Perl regular expression that will
cause skipping of all matching paths from checkout from SVN.
Examples:

--ignore-paths="^doc" - skip "doc*" directory for every fetch.

--ignore-paths="^[^/]+/(?:branches|tags)" - skip "branches"
and "tags" of first level directories.

Regular expression is not persistent, you should specify
it every time when fetching.

'clone':: 'clone'::
Runs 'init' and 'fetch'. It will automatically create a Runs 'init' and 'fetch'. It will automatically create a
directory based on the basename of the URL passed to it; directory based on the basename of the URL passed to it;