0
如何在分离头上更新子模块?如何更新子模块
我尝试
git pull --recurse-submodules
git submodule update --init --recursive
,但我得到的错误:
You are not currently on a branch. Please specify which
branch you want to merge with. See git-pull(1) for details.
git pull <remote> <branch>
我能做些什么?是否有另一种方式来更新子模块时,分离头上?用例是jenkins试图更新分离头上的子模块。