WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For those of you who are controlling their project with Mercurial, I'm curious as to what you have listed in your .hgignore file? I'm at a bit of a loss as to what I should include in it. I'm thinking just exclude cache and file data, but anything else? Thanks.

EDIT: For some reason I titled .hgrc instead of .hgignore, my bad. However, it looks like the responder(s) below knew what I meant :) Sorry.

share|improve this question

I don't exclude very much with some occasional exceptions.

Folders that contain backups (mostly sql).

Sometimes the .htaccess and wp-config.php file depending if it is being pushed to a remote repo.

Video files or really large amounts of binary stuff ( I typically don't wildcard add anything in the /uploads folder, if I want to commit an image I commit them on their own).

share|improve this answer

Your Answer


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.