3 ms·
But usually you want to commit the things that you're ignoring (some of them, at least). You just don't want to do it twice, once in .gitignore and a second tim
by rcthompson 16y ago
But usually you want to commit the things that you're ignoring (some of them, at least). You just don't want to do it twice, once in .gitignore and a second time in .hgignore. My solution is generally to put syntax:glob at the top of .hgignore and symlink it to .gitignore (or vice versa), so that edits to one of them affect both. Of course, I'm assuming that I'll never need to commit a file called "syntax:glob". I feel this is a reasonable assumption.