-
-
Save ceccode/16b0153f7441624438ef to your computer and use it in GitHub Desktop.
Revisions
-
ceccode renamed this gist
Nov 9, 2015 . 1 changed file with 3 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,8 @@ # ----------------------------------------------------------------- # Forked .gitignore for WordPress by @salcode, ver 20150227 # # ver. 0.1 @ceccode # # # By default all files are ignored. You'll need to whitelist # any mu-plugins, plugins, or themes you want to include in the repo. @@ -16,9 +14,6 @@ # git rm --cached # # Change Log: # ----------------------------------------------------------------- # ignore everything in the root except the "wp-content" directory. -
ceccode revised this gist
Nov 9, 2015 . 1 changed file with 14 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -49,10 +49,23 @@ node_modules/ ehthumbs.db Thumbs.db # ignore osx specific files .DS_Store *~ *.lock *.DS_Store *.swp *.out ._* *.swp *.swo *.swn # ignore Editors files *.sublime-project *.sublime-workspace *.komodoproject .idea # ignore log files and databases *.log -
salcode revised this gist
Mar 2, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,6 +16,7 @@ # git rm --cached # # Change Log: # 20150302 Added composer.json as a whitelisted file # 20150227 Created as fork of https://gist.github.com/salcode/9940509, # this version ignores all files by default # ----------------------------------------------------------------- @@ -85,6 +86,7 @@ Thumbs.db !.editorconfig !README.md !CHANGELOG.md !composer.json # track these mu-plugins, plugins, and themes # add your own entries here -
salcode revised this gist
Feb 27, 2015 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,10 @@ # .gitignore for WordPress @salcode # ver 20150227 # # From the root of your project run # curl -O https://gist.github.com/salcode/b515f520d3f8207ecd04/raw/.gitignore # to download this file # # By default all files are ignored. You'll need to whitelist # any mu-plugins, plugins, or themes you want to include in the repo. # -
salcode created this gist
Feb 27, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,89 @@ # ----------------------------------------------------------------- # .gitignore for WordPress @salcode # ver 20150227 # # By default all files are ignored. You'll need to whitelist # any mu-plugins, plugins, or themes you want to include in the repo. # # To ignore uncommitted changes in a file that is already tracked, use # git update-index --assume-unchanged # # To stop tracking a file that is currently tracked, use # git rm --cached # # Change Log: # 20150227 Created as fork of https://gist.github.com/salcode/9940509, # this version ignores all files by default # ----------------------------------------------------------------- # ignore everything in the root except the "wp-content" directory. /* !wp-content/ # ignore everything in the "wp-content" directory, except: # mu-plugins, plugins, and themes directories wp-content/* !wp-content/mu-plugins/ !wp-content/plugins/ !wp-content/themes/ # ignore all mu-plugins, plugins, and themes # unless explicitly whitelisted at the end of this file wp-content/mu-plugins/* wp-content/plugins/* wp-content/themes/* # ignore all files starting with . or ~ .* ~* # ignore node dependency directories (used by grunt) node_modules/ # ignore OS generated files ehthumbs.db Thumbs.db # ignore Editor files *.sublime-project *.sublime-workspace *.komodoproject # ignore log files and databases *.log *.sql *.sqlite # ignore compiled files *.com *.class *.dll *.exe *.o *.so # ignore packaged files *.7z *.dmg *.gz *.iso *.jar *.rar *.tar *.zip # ------------------------- # BEGIN Whitelisted Files # ------------------------- # track these files, if they exist !.gitignore !.editorconfig !README.md !CHANGELOG.md # track these mu-plugins, plugins, and themes # add your own entries here !wp-content/mu-plugins/example-mu-plugin/ !wp-content/plugins/example-plugin/ !wp-content/themes/example-theme/