git clone git://develop.git.wordpress.org/ develop
After cloning the core development repository with Git, considering the files and folders are under version control, how can the config files be renamed to
.git src/ tests/ tools/ ... wp-config-sample.php wp-tests-config-sample.php
I'm aware I can do
git mv wp-config-sample.php wp-config.php but now my working copy is different from the upstream repository.
Do not rename or modify the sample files unless such modifications are intended for contribution - they are there for reference. The files
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.
Cache file /home/queryxchang/public_html/apps/frontend/config/../cache/-q-9-213905-how-to-rename-the-wp-config-php-file-once-under-version-control- could not be written