Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge pull request #348 from nKey/submodule-reference-new
[FIXED JENKINS-18666] Submodule reference
- Loading branch information
Showing
4 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-reference.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div> | ||
Specify a folder containing a repository that will be used by Git as a reference during clone operations.<br/> | ||
This option will be ignored if the folder is not available on the master or slave where the clone is being executed.<br/> | ||
To prepare a reference folder with multiple subprojects, create a bare git repository and add all the remote urls then perform a fetch:<br/> | ||
<pre> | ||
git init --bare | ||
git remote add SubProject1 https://gitrepo.com/subproject1 | ||
git remote add SubProject2 https://gitrepo.com/subproject2 | ||
git fetch --all | ||
</pre> | ||
</div> |