Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an hgignore.io?

I use git for school, but mercurial for work.

Is there an equivalent of gitignore.io for mercurial?

like image 473
Brad Turek Avatar asked Apr 07 '17 20:04

Brad Turek


1 Answers

Though there does not seem to be an hgignore.io, you can use any ignore file generated by gitignore.io by simply placing syntax: glob on the first line.

.hgignore
syntax: glob

# Created by https://www.gitignore.io/api/java,eclipse,netbeans,intellij

### Eclipse ###

.metadata
bin/
tmp/
*.tmp
...

More info about .hgignore files.

like image 74
Brad Turek Avatar answered Oct 22 '22 21:10

Brad Turek