code.gitea.io/gitea@v1.21.7/options/gitignore/WordPress (about)

     1  # Wordpress - ignore core, configuration, examples, uploads and logs.
     2  # https://github.com/github/gitignore/blob/main/WordPress.gitignore
     3  
     4  # Core
     5  #
     6  # Note: if you want to stage/commit WP core files
     7  # you can delete this whole section/until Configuration.
     8  /wp-admin/
     9  /wp-content/index.php
    10  /wp-content/languages
    11  /wp-content/plugins/index.php
    12  /wp-content/themes/index.php
    13  /wp-includes/
    14  /index.php
    15  /license.txt
    16  /readme.html
    17  /wp-*.php
    18  /xmlrpc.php
    19  
    20  # Configuration
    21  wp-config.php
    22  
    23  # Example themes
    24  /wp-content/themes/twenty*/
    25  
    26  # Example plugin
    27  /wp-content/plugins/hello.php
    28  
    29  # Uploads
    30  /wp-content/uploads/
    31  
    32  # Log files
    33  *.log
    34  
    35  # htaccess
    36  /.htaccess
    37  
    38  # All plugins
    39  #
    40  # Note: If you wish to whitelist plugins,
    41  # uncomment the next line
    42  #/wp-content/plugins
    43  
    44  # All themes
    45  #
    46  # Note: If you wish to whitelist themes,
    47  # uncomment the next line
    48  #/wp-content/themes