【发布时间】:2011-07-08 23:44:51
【问题描述】:
我从 git@... URL 添加了一个子模块,以便能够在其中进行开发。现在我想部署应用程序并将 URL 替换为 git://... 一个,因此它不需要从 Capistrano 对子模块的 repo 进行身份验证。编辑 .gitmodules 中的 URL 是否足以完成此操作?
【问题讨论】:
-
无需同步:Git 2.25 (Q1 2020) 自带a new command":
git submodule set-url [--] <path> <newurl>
标签: git capistrano