YOUR REPOSITORY, LESS CLUTTER

Build your .gitignore

Choose your languages, tools and systems. Combine templates, review the rules, and save one file.

Templates & preview

Select templates

.gitignore

    Selected templates

    No templates yet

    You can combine language, framework, operating system and editor templates. Review the rules for your project.

    .gitignore

    # Select a template to see your file here.

    Templates load from this site; generation happens in your browser.

    01 /

    Choose your templates

    Search language, framework and tool templates. Add only the rules your project needs.

    02 /

    Review the rules

    Check the preview and add your own rules. Order and negation patterns matter.

    03 /

    Save and verify

    Download .gitignore to your repository. Use git check-ignore -v to inspect a rule; tracked files need a separate step.