I'm looking for a way to keep development instances of Wordpress up to date and under version control with Git.

Has anyone managed to the following?

  • set up git to track a repo containing the Wordpress core files
  • add the Wordpress repo to a project via a submodule or similar
  • get the latest version of WP from within the project by updating submodules (or whatever)

Ideally you would just need to update the WP core files in one repository, and then upgrade other dev instances using a single git command.


1 Answer 1


Mark Jaquith maintains a git repo of WordPress, synced with the SVN every half hour.


He also describes how to work with WP in git here:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.