简体   繁体   English

如何将git存储库设置为3个不同存储库的集合?

[英]How can I setup a git repository to be a collection of 3 different repositories?

I would like to have a git repository for my wordpress plugins directory and I would like it to pull from each plugins own repository and be easy to update when a plugin is updated. 我想为我的wordpress插件目录提供一个git存储库,我希望它能从每个插件自带的存储库中获取并在插件更新时轻松更新。 How is this possible? 这怎么可能?

可能是子模块: http//git-scm.com/docs/git-submodule

Submodules would be the way to go. 子模块将是要走的路。

Here is a tutorial to get you started. 这是一个帮助您入门的教程

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将多个git存储库组合到一个存储库中 - How can I group several git repositories into one repository 如何设置 git config 以从同一个本地存储库推送到两个不同的远程存储库? - How to setup git config for pushing to two different remote repositories from the same local repository? 如何在git bash中切换存储库,以便为每个存储库添加更改? - How can I switch repositories in git bash so I can add changes to each repository? 如何在 Git 远程存储库上触发垃圾收集? - How can I trigger garbage collection on a Git remote repository? Git:创建了本地和远程存储库,如何使用推送到远程存储库的文件? - Git: Created a local and remote repositories, how can I use the files I pushed to the remote repository? Git:我可以沿着存储库存储已知存储库吗? - Git: can I store known repositories along the repository? 如何在将一个巨大的存储库拆分为单独的存储库的同时将 SVN 转换为 GIT? - How can I convert SVN to GIT while splitting one huge repository into separate repositories? 我怎样才能让多个项目在一个 GitHub 存储库中拥有自己的本地 git 存储库? - How can I have multiple projects with their own local git repositories in one GitHub repository? 如何设置公共 git 存储库? - How to setup public git repositories? 如何查询 Git 存储库以用于 MSR(挖掘软件存储库)目的? - How can I query a Git repository for MSR (mining software repositories) purposes?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM