Skip to content

Commit

Permalink
git-svn: documented --ignore-paths
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
Vitaly \"_Vi\" Shukela authored and Eric Wong committed Jan 26, 2009
1 parent edc662f commit 6076b84
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Documentation/git-svn.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6076b84

Please sign in to comment.