Skip to content

Instantly share code, notes, and snippets.

@petertoi
Created August 5, 2014 15:33
Show Gist options
  • Save petertoi/fa5ff478b9dbaaa25574 to your computer and use it in GitHub Desktop.
Save petertoi/fa5ff478b9dbaaa25574 to your computer and use it in GitHub Desktop.
Installation instructions for checking out GIT project into existing WordPress directory

Installation Instructions

  1. Git clone project to a temp folder
  2. Install Wordpress to the project folder
  3. Copy .git/ from temp folder to project folder
  4. Remove temp folder
  5. Run: git checkout -- .
  6. Load the site in your browser and run the install to generate wp-config.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment