Integrating git workflow with wordpress. WordPress is set as a submodule. Content directory and wp-config are also move into the root directory. This base skeleton is included with theme twentythirteen.
- Clone the repository
git clone https://github.com/ahmadshah/wp-git.git - Run
git submodule init - Run
git submodule updateto fetch WordPress - Browse to
http://localhost/wp/wp-adminand start the installation - Rename
wp-config-sample.phptowp-config.phpand replace the required values