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]
Vitaly \"_Vi\" Shukela committed
Jan 26, 2009 at 00:21 UTC
6076b843a0a15d344f367ac46645eb864085477c
1 file changed
+13
Documentation/git-svn.txt
+13
@@ -103,6 +103,19 @@ repository to be able to interoperate with someone else's local Git
103
repository, either don't use this option or you should both use it in
104
the same local timezone.
105
106
+--ignore-paths=<regex>;;
107
+ This allows one to specify Perl regular expression that will
108
+ cause skipping of all matching paths from checkout from SVN.
109
+ Examples:
110
+
111
+ --ignore-paths="^doc" - skip "doc*" directory for every fetch.
112
+
113
+ --ignore-paths="^[^/]+/(?:branches|tags)" - skip "branches"
114
+ and "tags" of first level directories.
115
+
116
+ Regular expression is not persistent, you should specify
117
+ it every time when fetching.
118
+
119
'clone'::
120
Runs 'init' and 'fetch'. It will automatically create a
121
directory based on the basename of the URL passed to it;