Reputation: 540
I'm using TortoiseHG to commit code into a repository. Part of the system is symbolic links and these are throwing errors and are not allowing code to be committed. These directories do not need to be committed, so is there a way I can just ignore the directories?
Upvotes: 0
Views: 736
Reputation: 391556
If you have untracked content in your working folder, and want to keep them as untracked, there's generally three ways to do that:
hg addremove
and hg commit ... --addremove
are examples of this).hgignore
fileIf you want to go with option 3, then you should consult the documentation for .hgignore. In general, you can just list the names of the files in that file, it's just a normal text file, but there's a few options regarding syntax for that, so best to just check the documentation.
Upvotes: 1