Skip to content

Commit 6076b84

Browse files
Vitaly \"_Vi\" ShukelaEric Wong
authored andcommitted
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 <[email protected]> Acked-by: Eric Wong <[email protected]> [ew: trailing whitespace removed]
1 parent edc662f commit 6076b84

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Documentation/git-svn.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,19 @@ repository to be able to interoperate with someone else's local Git
103103
repository, either don't use this option or you should both use it in
104104
the same local timezone.
105105

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+
106119
'clone'::
107120
Runs 'init' and 'fetch'. It will automatically create a
108121
directory based on the basename of the URL passed to it;

0 commit comments

Comments
 (0)