-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b6d32af
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# ignore everything in the root except the "wp-content" directory. | ||
!wp-content/ | ||
|
||
# ignore everything in the "wp-content" directory, except: | ||
# "mu-plugins", "plugins", "themes" directory | ||
wp-content/* | ||
!wp-content/mu-plugins/ | ||
!wp-content/plugins/ | ||
!wp-content/themes/ | ||
|
||
# ignore these plugins | ||
wp-content/plugins/hello.php | ||
|
||
# ignore specific themes | ||
wp-content/themes/twenty*/ | ||
|
||
# ignore node dependency directories | ||
node_modules/ | ||
|
||
# ignore log files and databases | ||
*.log | ||
*.sql | ||
*.sqlite |