summaryrefslogtreecommitdiffstats
path: root/git-svn.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-03-16 15:00:58 -0700
committerJunio C Hamano <gitster@pobox.com>2016-03-16 15:00:58 -0700
commit8f7d6235fe64a08c44ec729306003e22efa743e0 (patch)
tree8c75d3d2fc5a1977f2d3ad4b612335e9a1f99aab /git-svn.html
parentdf97ffc354c223ba742bae4842b51593d5b9a722 (diff)
downloadgit-htmldocs-8f7d6235fe64a08c44ec729306003e22efa743e0.tar.gz
Autogenerated HTML docs for v2.8.0-rc3
Diffstat (limited to 'git-svn.html')
-rw-r--r--git-svn.html15
1 files changed, 14 insertions, 1 deletions
diff --git a/git-svn.html b/git-svn.html
index 045641df0..ec91298df 100644
--- a/git-svn.html
+++ b/git-svn.html
@@ -2328,6 +2328,8 @@ listed below are allowed:</p></div>
url = http://server.org/svn
fetch = trunk/project-a:refs/remotes/project-a/trunk
branches = branches/*/project-a:refs/remotes/project-a/branches/*
+ branches = branches/release_*:refs/remotes/project-a/branches/release_*
+ branches = branches/re*se:refs/remotes/project-a/branches/*
tags = tags/*/project-a:refs/remotes/project-a/tags/*</code></pre>
</div></div>
<div class="paragraph"><p>Keep in mind that the <em>*</em> (asterisk) wildcard of the local ref
@@ -2336,6 +2338,17 @@ however the remote wildcard may be anywhere as long as it&#8217;s an
independent path component (surrounded by <em>/</em> or EOL). This
type of configuration is not automatically created by <em>init</em> and
should be manually entered with a text-editor or using <em>git config</em>.</p></div>
+<div class="paragraph"><p>Also note that only one asterisk is allowed per word. For example:</p></div>
+<div class="literalblock">
+<div class="content">
+<pre><code>branches = branches/re*se:refs/remotes/project-a/branches/*</code></pre>
+</div></div>
+<div class="paragraph"><p>will match branches <em>release</em>, <em>rese</em>, <em>re123se</em>, however</p></div>
+<div class="literalblock">
+<div class="content">
+<pre><code>branches = branches/re*s*e:refs/remotes/project-a/branches/*</code></pre>
+</div></div>
+<div class="paragraph"><p>will produce an error.</p></div>
<div class="paragraph"><p>It is also possible to fetch a subset of branches or tags by using a
comma-separated list of names within braces. For example:</p></div>
<div class="listingblock">
@@ -2407,7 +2420,7 @@ rewinds it.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-09-01 16:40:30 PDT
+Last updated 2016-03-16 14:57:44 PDT
</div>
</div>
</body>