summaryrefslogtreecommitdiffstats
path: root/git-svn.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-06-13 14:15:55 -0700
committerJunio C Hamano <gitster@pobox.com>2017-06-13 14:15:55 -0700
commit3a31ce59d3f4464f0cd0b66080878bd2f5530861 (patch)
treeda445b08a776741814e2bfbe77fed3dec22641b6 /git-svn.txt
parent7016b0b3e833ebe925c0b7d0a532777403ab448e (diff)
downloadgit-htmldocs-3a31ce59d3f4464f0cd0b66080878bd2f5530861.tar.gz
Autogenerated HTML docs for v2.13.1-449-g02a28
Diffstat (limited to 'git-svn.txt')
-rw-r--r--git-svn.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/git-svn.txt b/git-svn.txt
index 9bee9b0c4..fba0b4eec 100644
--- a/git-svn.txt
+++ b/git-svn.txt
@@ -95,6 +95,10 @@ If you still want the old default, you can get it by passing
`--prefix ""` on the command line (`--prefix=""` may not work if
your Perl's Getopt::Long is < v2.37).
+--ignore-refs=<regex>;;
+ When passed to 'init' or 'clone' this regular expression will
+ be preserved as a config key. See 'fetch' for a description
+ of `--ignore-refs`.
--ignore-paths=<regex>;;
When passed to 'init' or 'clone' this regular expression will
be preserved as a config key. See 'fetch' for a description
@@ -138,6 +142,18 @@ the same local time zone.
--parent;;
Fetch only from the SVN parent of the current HEAD.
+--ignore-refs=<regex>;;
+ Ignore refs for branches or tags matching the Perl regular
+ expression. A "negative look-ahead assertion" like
+ `^refs/remotes/origin/(?!tags/wanted-tag|wanted-branch).*$`
+ can be used to allow only certain refs.
++
+[verse]
+config key: svn-remote.<name>.ignore-refs
++
+If the ignore-refs configuration key is set, and the command-line
+option is also given, both regular expressions will be used.
+
--ignore-paths=<regex>;;
This allows one to specify a Perl regular expression that will
cause skipping of all matching paths from checkout from SVN.