ignore https://drupaladicto.com/ es Git Ignore para Drupal https://drupaladicto.com/snippet/git-ignore-para-drupal <span class="field field--name-title field--type-string field--label-hidden">Git Ignore para Drupal</span> <div class="clearfix text-formatted field field--name-field-snippet-descripcion field--type-text-long field--label-above"> <div class="field__label">Descripción</div> <div class="field__item"><p>Para añadir el archivo .gitignore a Drupal sigue estos pasos:</p> <ol><li>Crear un archivo de texto llamado .gitignore</li> <li>Colócalo en tu carpeta principal de Drupal</li> <li>Copia y pega el código que está debajo.</li> <li>Puedes añadir líneas para ignorar otros archivos</li> </ol></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/luis-alberto-mejia" typeof="schema:Person" property="schema:name" datatype="">webmaster</span></span> <span class="field field--name-created field--type-created field--label-hidden">Mar, 28/02/2023 - 21:02</span> <div class="clearfix text-formatted field field--name-field-instrucciones field--type-text-long field--label-above"> <div class="field__label">Instrucciones</div> <div class="field__item"><p>Archivo .gitignore para dejar impedir que se suban partes innecesarias en cualquier proyecto drupal 8 o superior</p> </div> </div> <div class="clearfix text-formatted field field--name-field-codigo field--type-text-long field--label-hidden field__item"><pre> # These are some examples of commonly ignored file patterns. # You should customize this list as applicable to your project. # Learn more about .gitignore: # https://www.atlassian.com/git/tutorials/saving-changes/gitignore # Node artifact files node_modules/ dist/ # Compiled Java class files *.class # Compiled Python bytecode *.py[cod] # Log files *.log # Package files *.jar # Maven target/ dist/ # JetBrains IDE .idea/ # Unit test reports TEST*.xml # Generated by MacOS .DS_Store # Generated by Windows Thumbs.db # Applications *.app *.exe *.war # Large media files *.mp4 *.tiff *.avi *.flv *.mov *.wmv # Ignore directories generated by Composer /drush/contrib/ /vendor/ /web/core/ /web/modules/contrib/ /web/themes/contrib/ /web/profiles/contrib/ /web/libraries/ # Ignore sensitive information /web/sites/*/settings.php /web/sites/*/settings.local.php # Ignore Drupal's file directory /web/sites/*/files/php/* /web/sites/*/files/js /web/sites/*/files/css # Ignore SimpleTest multi-site environment /web/sites/simpletest # Ignore files generated by common IDEs /.idea/ /.vscode/ /.lando/ /.lando.yml # Ignore .env files as they are personal /.env © 2021 GitHub, Inc. </pre> </div> <div class="field field--name-field-snippet-paginador field--type-image field--label-above"> <div class="field__label">Paginador</div> <div class="field__item"> <img src="/sites/default/files/imagenes/snippets/snippet-pager_41.png" width="100" height="100" alt="Snippet | www.drupaladicto.com - Consultores especializados en Drupal y Symfony" title="Snippet | www.drupaladicto.com - Consultores especializados en Drupal y Symfony" loading="lazy" typeof="foaf:Image" class="img-fluid" /> </div> </div> <div class="field field--name-field-categoria-snippet field--type-entity-reference field--label-above"> <div class="field__label">Categoría</div> <div class="field__items"> <div class="field__item"><a href="/categoria/git" hreflang="es">git</a></div> <div class="field__item"><a href="/categoria/ignore" hreflang="es">ignore</a></div> <div class="field__item"><a href="/categoria/desarrollo" hreflang="es">desarrollo</a></div> <div class="field__item"><a href="/categoria/control-de-versiones" hreflang="es">control de versiones</a></div> <div class="field__item"><a href="/categoria/repositorio" hreflang="es">repositorio</a></div> <div class="field__item"><a href="/categoria/repositories" hreflang="es">repositories</a></div> <div class="field__item"><a href="/categoria/files" hreflang="es">files</a></div> <div class="field__item"><a href="/categoria/archivos" hreflang="es">archivos</a></div> <div class="field__item"><a href="/categoria/despliegue" hreflang="es">despliegue</a></div> <div class="field__item"><a href="/categoria/deploy" hreflang="es">deploy</a></div> </div> </div> <div class="field field--name-field-portada-snippet field--type-entity-reference field--label-above"> <div class="field__label">Portada</div> <div class="field__item"><article class="media media--type-imagen media--view-mode-default"> </article> </div> </div> Tue, 28 Feb 2023 20:02:36 +0000 webmaster 66 at https://drupaladicto.com