Skip to content

Instantly share code, notes, and snippets.

@vanbernaert
Forked from lumpysimon/.gitignore
Created May 2, 2020 22:18
Show Gist options
  • Select an option

  • Save vanbernaert/5bf4f487548a0ee6e285bca720b37e1d to your computer and use it in GitHub Desktop.

Select an option

Save vanbernaert/5bf4f487548a0ee6e285bca720b37e1d to your computer and use it in GitHub Desktop.

Revisions

  1. @lumpysimon lumpysimon revised this gist Apr 7, 2014. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions .gitignore
    Original file line number Diff line number Diff line change
    @@ -6,6 +6,8 @@
    # - everything in mu-plugins
    # - my-plugin
    # - my-theme (except for .sass-cache)
    #
    # based on https://gist.github.com/jdbartlett/444295
    /*
    !.gitignore
    !favicon.ico
  2. @lumpysimon lumpysimon renamed this gist Apr 7, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. @lumpysimon lumpysimon created this gist Apr 7, 2014.
    26 changes: 26 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    # .gitignore file for WordPress that ignores everything except:
    #
    # - .gitignore
    # - favicon.ico
    # - wp-config.php
    # - everything in mu-plugins
    # - my-plugin
    # - my-theme (except for .sass-cache)
    /*
    !.gitignore
    !favicon.ico
    !wp-config.php
    !wp-content

    wp-content/*
    !wp-content/mu-plugins
    !wp-content/plugins
    !wp-content/themes

    wp-content/plugins/*
    !wp-content/plugins/my-plugin

    wp-content/themes/*
    !wp-content/themes/my-theme

    .sass-cache