.gitmodules中的Git更新路径设置
我想更新本地分支上子模块的路径,然后推动这些更改。如何实现这一目标?Git 2.25+(2020年第1季度) 请参阅“”和新命令.gitmodules中的Git更新路径设置,git,git-submodules,Git,Git Submodules,我想更新本地分支上子模块的路径,然后推动这些更改。如何实现这一目标?Git 2.25+(2020年第1季度) 请参阅“”和新命令 git submodule set-url [--] <path> <newurl> 然后重新同步: git submodule sync git submodule update --init --recursive --remote 最后,添加、提交和推送(来自父回购)Git 2.25+(2020年第1季度) 请参阅“”和新命令 git
git submodule set-url [--] <path> <newurl>
然后重新同步:
git submodule sync
git submodule update --init --recursive --remote
最后,添加、提交和推送(来自父回购)Git 2.25+(2020年第1季度)
请参阅“”和新命令
git submodule set-url [--] <path> <newurl>
然后重新同步:
git submodule sync
git submodule update --init --recursive --remote
最后,添加、提交和推送(来自父repo)