Comment on A Collection of Useful .gitignore TemplatesparentComments−sid015yCan't you exclude all jars by default and add whatever libs you do want to check in? I don't know too much about git, but that is how I would do it in Mercurial. (In Mercurial, if you specify an explicit filename, it overrides .hgignore.)−mbudde15yYou can, you just need to use ``git add -f`` otherwise you get an error.
Comments
Can't you exclude all jars by default and add whatever libs you do want to check in? I don't know too much about git, but that is how I would do it in Mercurial. (In Mercurial, if you specify an explicit filename, it overrides .hgignore.)
You can, you just need to use ``git add -f`` otherwise you get an error.