Skip to content

Instantly share code, notes, and snippets.

@ixrevo
Last active March 9, 2022 01:50
Show Gist options
  • Select an option

  • Save ixrevo/7870941 to your computer and use it in GitHub Desktop.

Select an option

Save ixrevo/7870941 to your computer and use it in GitHub Desktop.

Revisions

  1. ixrevo revised this gist Feb 10, 2014. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions WordPress Development .gitignore
    Original file line number Diff line number Diff line change
    @@ -74,12 +74,13 @@ Icon?
    ehthumbs.db
    [Tt]humbs.db

    ######################
    # Logs and databases #
    ######################
    #############################
    # Logs, databases and misc. #
    #############################
    *.log
    *.sql
    *.sqlite
    *.sass-cache

    ############
    # Packages #
  2. ixrevo created this gist Dec 9, 2013.
    96 changes: 96 additions & 0 deletions WordPress Development .gitignore
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,96 @@
    ########################
    # Wordpress Core files #
    ########################
    wp-admin/
    wp-content/backups/
    wp-content/blogs.dir/
    wp-content/languages/
    wp-content/index.php
    wp-content/themes/index.php
    wp-includes/
    index.php
    license.txt
    readme.html
    wp-activate.php
    wp-blog-header.php
    wp-comments-post.php
    wp-config-sample.php
    wp-cron.php
    wp-links-opml.php
    wp-load.php
    wp-login.php
    wp-mail.php
    wp-settings.php
    wp-signup.php
    wp-trackback.php
    xmlrpc.php

    #####################################
    # Wordpress untracked plugins files #
    #####################################
    wp-content/plugins/index.php
    wp-content/plugins/akismet/
    wp-content/plugins/debug-bar/
    wp-content/plugins/[etc.]

    ######################################
    # Wordpress specific untracked files #
    ######################################
    wp-config-local.php
    wp-content/uploads/
    wp-content/upgrade/

    ##################################
    # W3 Total Cache untracked files #
    ##################################
    wp-content/advanced-cache.php
    wp-content/db.php
    wp-content/object-cache.php
    wp-content/cache/
    wp-content/plugins/w3-total-cache/
    wp-content/w3tc-config/

    ############
    # Sitemaps #
    ############
    sitemap.xml
    sitemap.xml.gz

    #################################
    # Web Master Verification files #
    #################################
    google<SomeHash>.html
    yandex_<SomeHash>.html

    ######################
    # OS generated files #
    ######################
    .DS_Store
    .DS_Store?
    .localized
    .Spotlight-V100
    .Trashes
    Icon?
    ehthumbs.db
    [Tt]humbs.db

    ######################
    # Logs and databases #
    ######################
    *.log
    *.sql
    *.sqlite

    ############
    # Packages #
    ############
    # it's better to unpack these files and commit the raw source
    # git has its own built in compression methods
    *.7z
    *.dmg
    *.gz
    *.iso
    *.jar
    *.rar
    *.tar
    *.zip