Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

Anyone?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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

https://github.com/markjaquith/WordPress

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

http://markjaquith.wordpress.com/2011/05/26/developing-on-wordpress-using-git/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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