Browse Source

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 16 years ago committed by Eric Wong
parent
commit
6076b843a0
  1. 13
      Documentation/git-svn.txt

13
Documentation/git-svn.txt

@ -103,6 +103,19 @@ repository to be able to interoperate with someone else's local Git @@ -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
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'::
Runs 'init' and 'fetch'. It will automatically create a
directory based on the basename of the URL passed to it;

Loading…
Cancel
Save