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
parent
edc662f929
commit
6076b843a0
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue