X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-svn.txt;h=7b654f7928c668abec364a33478ed4be70dfb01a;hb=de8139005f04a4a5ad8a54c771475803594028cd;hp=63d2f5e962961eaba5344f8e42463485319c2670;hpb=07adc43f3a17a34111e17eadef3f6f4eef3eb67a;p=git.git diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt index 63d2f5e96..7b654f792 100644 --- a/Documentation/git-svn.txt +++ b/Documentation/git-svn.txt @@ -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=;; + 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;