From 3514a03514b3607d1c09759babb1d004367c032e Mon Sep 17 00:00:00 2001 From: Pedro Machado Santa Date: Thu, 23 Jan 2020 18:27:27 +0000 Subject: [PATCH] Update gitignore with note/option for wp core commit --- WordPress.gitignore | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/WordPress.gitignore b/WordPress.gitignore index be4d27d1..4fceea09 100644 --- a/WordPress.gitignore +++ b/WordPress.gitignore @@ -1,7 +1,10 @@ # Wordpress - ignore core, configuration, examples, uploads and logs. # https://github.com/github/gitignore/blob/master/WordPress.gitignore -# Core and configuration +# Core +# +# Note: if you want to stage/commit WP core files +# you can delete this whole section/until Configuration. /wp-admin/ /wp-content/index.php /wp-content/plugins/index.php @@ -13,6 +16,9 @@ /wp-*.php /xmlrpc.php +# Configuration +wp-config.php + # Example themes /wp-content/themes/twenty*/