Java Gitignore

Use when initializing or auditing a Java project's .gitignore, or when the wrong files were committed — build output, IDE files, OS cruft, or (worst) secrets/local config. Covers what must and must NOT be ignored, a ready Maven+Gradle template, and how to find and un-track files already checked in by mistake (git rm --cached) including the secrets-in-history caveat.

mtkhawaja ddf3643 2 files · 8.6 KB Updated

File contents

mtkhawaja/java-skills/tree/main/skills/java-gitignore commit ddf3643b11

Frequently asked questions

npx skillmds@latest add mtkhawaja/java-gitignore