Gagablik Asked:2020-10-22 00:45:19 +0000 UTC2020-10-22 00:45:19 +0000 UTC 2020-10-22 00:45:19 +0000 UTC Drupal 8 的 GIT 目录在哪里? 772 通过作曲家安装 Drupal 8 核心。 GIT 目录位于 Drupal 根文件夹中。 对于您的项目,使用此目录?还是在WEB文件夹中初始化目录并用于开发? git 2 个回答 Voted Sir Lancevrot 2020-02-25T21:46:24Z2020-02-25T21:46:24Z 好吧,这一切都取决于您的需求。但通常是的,在哪里索引 php,在那里并初始化 git。https://github.com/github/gitignore这里如果有任何忽略 d7 的例子 https://github.com/wearewondrous/drupal-8-best-practices/blob/master/.gitignore d8 Best Answer Slot Gamer 2021-11-09T23:52:07Z2021-11-09T23:52:07Z GIT 目录位于 Drupal 根文件夹中。对于您的项目,使用此目录? 是的,这是标准做法。 还是在WEB文件夹中初始化目录并用于开发? 不值得。很多重要的东西,例如 composer.json,不会进入存储库。
好吧,这一切都取决于您的需求。但通常是的,在哪里索引 php,在那里并初始化 git。https://github.com/github/gitignore这里如果有任何忽略 d7 的例子
https://github.com/wearewondrous/drupal-8-best-practices/blob/master/.gitignore d8
是的,这是标准做法。
不值得。很多重要的东西,例如 composer.json,不会进入存储库。