在源控制面板中推开supdules

发布于 2025-01-24 21:49:58 字数 197 浏览 1 评论 0原文

我有一个本地存储库,其中包含n个数量的子模块。

有时我会从事这些子模块并对其进行更改。当我想提交并将其推入远程存储库时,我要做的是在每个子模块中进行内部,并进行订单并单独推动,这很耗时和

重复我想要我要一次点击将这些子模块更改而不经过每个子模块,

是否有任何方法可以单击一键推动所有子模块更改?

我正在使用VSCODE编辑器

I have a local repository with n number of submodules in it.

sometimes i work on these sub-modules and make changes to it.when i wanted to commit and push these into remote repository what i do is i goes inside of each sub modules and do the commit and push individually which is time consuming and repetitive

What i want is i want to push these sub-modules changes in one click without going through each sub-modules

Is there any way to push all the sub-module changes in single click?

I am using VSCode editor

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浅沫记忆 2025-01-31 21:49:59

a 来自父存储库的

git push --recurse-submodules=on-demand

如果使用on-egnd,则将按要按要推的修订版中更改的所有子模块。

A git push from the parent repository should be enough:

git push --recurse-submodules=on-demand

If on-demand is used, all submodules that changed in the revisions to be pushed will be pushed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文