相关疑难解决方法(0)

GIT嵌套存储库:Composer vs. SubModules vs. Subtree vs.?

我终于在我的工作流程中加入了GitHubComposer依赖管理.这绝对是一个巨大的进步,虽然我仍然对GIT管理"嵌套"家属感到困惑.

当我使用一个很棒的Wordpress Stack ROOTS/BEDROCK时,我的简化目录结构如下所示:

|-- /project
|   |-- /.git                    // git repository for the skeleton/stack of the project
|   |-- composer.json            // list of dependencies, most of them are my own repositories on GitHub
|   |-- /vendor
|   |   |-- /php-dependency-1    // 3rd party dependencies not directly related to Wordpress
|   |-- /web
|   |   |-- /app                 // acts as "wp-admin" folder
|   |   |   |-- /mu-plugins       
|   |   |   |   |-- /SUBREPOSITORY-1    // my own …
Run Code Online (Sandbox Code Playgroud)

git nested git-submodules git-subtree composer-php

21
推荐指数
1
解决办法
8083
查看次数

标签 统计

composer-php ×1

git ×1

git-submodules ×1

git-subtree ×1

nested ×1