Bonus: These days I stumbled over this nice online tool to create an initial
.gitignorefile gitignore.io - Create useful .gitignore files for your project
These days I created a new Java project and the project failed to build on our CI server.
gradle-wrapper.jar was missing...
It turned out to be a correct match in the
$ git check-ignore -v gradle/wrapper/gradle-wrapper.jar .gitignore:7:*.jar gradle/wrapper/gradle-wrapper.jar
How to fix it? Add an exclude rule to
Beware: This snippet has to be after the
*.jarentry. Thanks for keeping us in the loop.