Skip to content

Commit 3514a03

Browse files
committed
Update gitignore with note/option for wp core commit
1 parent 4d9d3ff commit 3514a03

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

WordPress.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Wordpress - ignore core, configuration, examples, uploads and logs.
22
# https://github.com/github/gitignore/blob/master/WordPress.gitignore
33

4-
# Core and configuration
4+
# Core
5+
#
6+
# Note: if you want to stage/commit WP core files
7+
# you can delete this whole section/until Configuration.
58
/wp-admin/
69
/wp-content/index.php
710
/wp-content/plugins/index.php
@@ -13,6 +16,9 @@
1316
/wp-*.php
1417
/xmlrpc.php
1518

19+
# Configuration
20+
wp-config.php
21+
1622
# Example themes
1723
/wp-content/themes/twenty*/
1824

0 commit comments

Comments
 (0)