File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,15 @@ endif::git-pull[]
25
25
+
26
26
The format of a <refspec> parameter is an optional plus
27
27
`+`, followed by the source <src>, followed
28
- by a colon `:`, followed by the destination ref <dst>.
28
+ by a colon `:`, followed by the destination <dst>.
29
29
The colon can be omitted when <dst> is empty. <src> is
30
- typically a ref, but it can also be a fully spelled hex object
30
+ typically a ref, or a glob pattern with a single `*` that is used
31
+ to match a set of refs, but it can also be a fully spelled hex object
31
32
name.
32
33
+
33
34
A <refspec> may contain a `*` in its <src> to indicate a simple pattern
34
35
match. Such a refspec functions like a glob that matches any ref with the
35
- same prefix . A pattern <refspec> must have a `*` in both the <src> and
36
+ pattern . A pattern <refspec> must have one and only one `*` in both the <src> and
36
37
<dst>. It will map refs to the destination by replacing the `*` with the
37
38
contents matched from the source.
38
39
+
You can’t perform that action at this time.
0 commit comments