Skip to content

Ignore unnecessary drupal core files. #317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

jcnventura
Copy link
Collaborator

@jcnventura jcnventura commented Oct 13, 2017

There are several files provided by Drupal 8 that we don't gitignore but don't make any sense as any changes to these probably come from core updates. See the list below of files that would now be ignored.

The only 2 files which might be useful to sometimes add to the repo are .htaccess (for those not running nginx), and robots.txt. I've added commented lines to make it easier for those that want to un-ignore them.

web/.csslintrc
web/.editorconfig
web/.eslintignore
web/.eslintrc.json
web/.gitattributes
web/.htaccess
web/autoload.php
web/index.php
web/robots.txt
web/sites/development.services.yml
web/sites/example.settings.local.php
web/sites/example.sites.php
web/update.php
web/web.config

@jcnventura jcnventura requested a review from webflo April 12, 2018 19:15
@jcnventura jcnventura force-pushed the jcnventura-ignore-drupal-core-files branch 2 times, most recently from 12cf8c0 to 238d925 Compare April 12, 2018 19:48
@webflo webflo mentioned this pull request Apr 13, 2018
@jcnventura
Copy link
Collaborator Author

@webflo this is not covered by the setup wizard. This is an extension of the ignored files to stop committing some Drupal core files which do not need to be in the repo.

@jcnventura jcnventura force-pushed the jcnventura-ignore-drupal-core-files branch from 238d925 to e02284a Compare April 23, 2018 15:51
@jcnventura jcnventura force-pushed the jcnventura-ignore-drupal-core-files branch from e02284a to a939652 Compare March 13, 2019 09:58
@jcnventura jcnventura force-pushed the jcnventura-ignore-drupal-core-files branch from a939652 to 9f390ab Compare August 27, 2019 09:16
@jcnventura jcnventura closed this Apr 19, 2021
@jcnventura jcnventura deleted the jcnventura-ignore-drupal-core-files branch April 19, 2021 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants