问题
I am using Jenkins "Advanced sub-modules behaviour" and checked the "Recursively update sub modules" option. However I get the submodule only in an old revision. I would like to always have the head revision of the submodule. I found another option in "Advanced sub-modules behaviour" called "Update tracking submodules to tip of branch". This seems to use the --remote option. Will this solve the Problem?
Any Ideas?
回答1:
Based on the documentation page for submodule, it seems that that should work. You need to have git 1.8.2 or newer though.
来源:https://stackoverflow.com/questions/36471981/jenkins-and-updating-git-submodules