Skip to content
Browse files
[JENKINS-42050] Add help for multiple refspecs
  • Loading branch information
MarkEWaite committed Feb 15, 2017
1 parent cae9fb6 commit d2c36cf91698ca1e890e291b824cc976058e596e
Showing 1 changed file with 11 additions and 1 deletion.
@@ -11,6 +11,16 @@
When do you want to modify this value? A good example is when you want to just retrieve one branch. For example,
<tt>+refs/heads/master:refs/remotes/origin/master</tt> would only retrieve the master branch and nothing else.

The plugin uses a default refspec for its initial fetch, unless the "Advanced Clone Option" is set to honor refspec.
This keeps compatibility with previous behavior, and allows the job definition to decide if the refspec should be
honored on initial clone.

Mulitple refspecs can be entered by separating them with a space character.
retrieves the master branch and the develop branch and nothing else.

See <a href="">the term definition in Git user manual</a> for more details.

0 comments on commit d2c36cf

Please sign in to comment.