Mercurial: How to ignore everything in a folder?

I have been looking for this for a while. It’s pretty simple. Let’s say you have project A, and want to ignore 2 folders: bin and output.

1. In your project folder, edit the file ‘.hgignore’, or create it if non-existing.
2. Add the following lines:

That’s it. You are all set.

This entry was posted in Engineering. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.