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 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 rename a local Git branch?
- How can I switch to another branch in git?
- How do I discard unstaged changes in Git?
- Git: How do I force “git pull” to overwrite local files?
- How do I discard unstaged changes in Git?
- Download single files from GitHub
- 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 does “Git push non-fast-forward updates were rejected” mean?
- What is the difference between ‘git pull’ and ‘git fetch’?
- Undo git pull, how to bring repos to old state
- Git: cannot do a partial commit during a merge (SourceTree)
- Git: How do I force “git pull” to overwrite local files?
- What is the meaning of git reset –hard origin/master?
- How can I reset or revert a file to a specific revision?
- Else clause on Python while statement
- Delete all local git branches
- Why does ‘git commit’ not save my changes?
- How can I undo git reset –hard HEAD~1?
- Set up git to pull and push all branches
- git push to specific branch
- Get changes from master into branch in Git
- Invalid VCS root mapping – 3 errors on my project
- Updates were rejected because the remote contains work that you do not have locally
- how to reset develop branch to master
- 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?
- What is the Git equivalent for revision number?
- 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?
- What’s the difference between WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT?
- Turn Off Automatic Trash Deletion?
- How can I change preview URL?
- Override the wp_siteurl and wp_home not work
- Should I use SVN or Git?
- 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
- How to use live images on local install?
- 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
- WP_MEMORY_LIMIT didn’t work in wp-config
- Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes)
- WordPress Health Tool reporting version control as a critical issue
- How to set up gmail SMTP in WordPress
- error:-Cannot modify header information – headers already sent by
- storing database in version control
- Changing HTTP URL Port
- wp-config.php file permissions
- How to update WordPress from the latest trunk
- Is it better to create a Git repository at the root level or in the WordPress theme directory?
- how to use is_admin in wp-config.php
- Locked out of WordPress Site Admin after enabling Force SSL on WordPress Https (SSL)
- Set wp-content folder to Dropbox folder
- 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?
- Pull latest stable release via git [closed]
- enable SFTP via SSH keys in wordpress
- html lang=”” instead of lang=”en-us” – why?
- Why do I get a WAMP homepage when clicking on specific website’s URL on LocalHost?
- Creating the wp-config.php file manually
- What Does this Code Snippet Do?
- WP_Debug not displaying anything
- 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
- Why edits to wp-config.php must come before “That’s all” comment
- How should I be handling my theme version numbering?
- error log cluttered with undefined DB_USER wp-admin/setup-config.php
- Is it possible to override the ABSPATH constant
- 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
- multiple language directories
- Error in database connection [closed]
- Update wp-config.php and lost pages
- 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
- Painless way to track remote Git repo for WordPress updates