Do not rename or modify the sample files unless such modifications are intended for contribution – they are there for reference. The files wp-config.php
and wp-tests-config.php
are explicitly ignored by .gitignore
. Simply create them as new files yourself (or, if you’d like to use the sample files verbatim create symlinks to the sample files) to avoid unnecessary disparity with upstream.
Related Posts:
- Best practice for versioning wp-config.php?
- How do I delete a Git branch locally and remotely?
- How do I rename a local Git branch?
- How do I undo the most recent local commits in Git?
- Git: How do I force “git pull” to overwrite local files?
- Differences between git pull origin master & git pull origin/master
- How do I discard unstaged changes in Git?
- How can I make git accept a self signed certificate?
- Git: How to squash all commits on branch
- How can I revert multiple Git commits (already pushed) to a published repository?
- Undo git pull, how to bring repos to old state
- What is the difference between ‘git pull’ and ‘git fetch’?
- Undo git pull, how to bring repos to old state
- How can I reset or revert a file to a specific revision?
- Else clause on Python while statement
- git push to specific branch
- Get changes from master into branch in Git
- Do I commit the package-lock.json file created by npm 5?
- Rebasing remote branches in Git
- How can I see the changes in a Git commit?
- How can I delete all Git branches which have been merged?
- difference between git merge origin/master and git pull
- What’s a good (free) visual merge tool for Git? (on windows)
- Getting Started with Subversion, Git, or similar Version Control System to keep a History of my Files? [closed]
- Password in wp-config. Dangerous?
- Turn Off Automatic Trash Deletion?
- Override the wp_siteurl and wp_home not work
- Changing WP_CONTENT_DIR and WP_CONTENT_URL in wp-config.php does not register?
- Missing a temporary folder despite settings in wp-config.php
- Syntax of FS_CHMOD_DIR and FS_CHMOD_FILE
- WordPress PHP error handling and reporting in production environment
- Declaratively Configuring WordPress in XML or JSON or YAML
- How to set up gmail SMTP in WordPress
- error:-Cannot modify header information – headers already sent by
- Changing HTTP URL Port
- How to update WordPress from the latest trunk
- how to use is_admin in wp-config.php
- Including a 3rd party library in WordPress which needs to be accessible by wp-config
- wp-config.php being deleted
- Get WP CLI to hide debug warnings and notices in JSON output, same setting as website
- Installation Issue WordPress locally – The file ‘wp-config.php’ already exists
- What is this file: wp-config-wpe.php?
- enable SFTP via SSH keys in wordpress
- Why do I get a WAMP homepage when clicking on specific website’s URL on LocalHost?
- Creating the wp-config.php file manually
- Can I delete `wp-config-sample.php` after installing and configuring WordPress?
- How to reliably set file/folder permissions?
- Multiple wp-config.php files in one home directory
- error log cluttered with undefined DB_USER wp-admin/setup-config.php
- Version control with a team of non-developers
- How to stop fatal error when loading theme template file directly
- Should I change wp-config for SSL?
- Out of memory errors : how best to track them down
- Redefine cookie domain for subdomains
- Conflict with wp_homeurl, wp_siteurl and admin interface settings
- error messages in dashboard login
- where should I write constants in wordpress?
- Issues copying site into local machine
- Autosave interval remains default despite wp-config.php defines
- Carriage Return control character (^M) found in wp-config-sample.php
- Are the wordpress settings (abspath, disable core updates) added by SiteGround of any use after I’ve migrated to a different host?
- Need help fixing my wp-config file [closed]
- WP_MEMORY_LIMIT didn’t work in wp-config, only within default-constants.php
- Questions about Git and WordPress [duplicate]
- Cookie set without HttpOnly flag
- Changing the wp-config.php broke the site
- Publishing WordPress from stage to production server
- Define option outside wp-config.php (on WordPress.com)
- Moving wp-config.php one level up – 500 error – Nginx [closed]
- Remote server does not read `WP_HOME` from wp-config.php when local server does
- Read wp-config without loading the rest of WordPress – i.e. wp-settings, etc
- Proper way to have multiple installs with a single database
- WordPress installed on a Sub-directory
- Editing wp-config.php file asks for another installation
- How to use one git (github) repository for version control for multiple themes
- ABSPATH not defined?
- WordPress login redirection not working on Nginx root directory
- Plesk login inaccessible after changing site URL
- Change of “home” results in timeouts (only on index.php)
- wp-config.php randomly will reset to wp-config-sample.php
- WP_SITEURL vs WP_HOME link output
- What can an attacker do if he has access to my wp-config file?
- How to fix wp-login.php gives error 500 after migration?
- Change default wordpress FS owner
- Define new constants in wp-config
- sudden changing of host IP result in crash of the site
- Can you define readability settings in wp-config.php?
- Can wp-config move cause dashboard not to load?
- Unable to change WordPress language (WordPress 4.2.2)
- PressPi (WordPress) Broken Layout
- How to change WordPress theme file path to a remote server?
- Why is WordPress not using $_SERVER[‘SERVER_NAME’] for ‘WP_SITEURL’ and ‘WP_HOME’ as default?
- WordPress Redirect on Name Change
- Is there any reason why using the same wp-config file might not work in MAMP?
- Why would changing ports from 80 to 8080 cause wordpress to act unexpectedly?
- Change URL when visiting wordpress site
- max_input_vars not updating through wp-config
- Disabling zlib compression and enforcing gzip
- Can WP-CLI modify database connection details in existing wp-config file?
- How to specify server path in code?