Select your OS and programming languages (or frameworks) to generate a .gitignore. Combine templates and download or copy. Runs in your browser.
About Gitignore Generator
A .gitignore file tells Git which files or folders to ignore. This tool combines common templates for operating systems (Windows, macOS, Linux) and languages (Node, Python, Java, etc.) so you can quickly create a starter .gitignore for your project.
How to use
- Select the OS and languages that match your project.
- Click Generate .gitignore. Copy or download the file and add it to your repo root.
Frequently Asked Questions
Where do I put the .gitignore file?
Place it in the root of your Git repository. Git will then ignore the listed patterns when committing.
Is my selection sent to a server?
No. The file is built in your browser from built-in templates. Nothing is uploaded.
Can I add my own lines?
Yes. After generating, copy the result and add or edit lines in your editor. Use one pattern per line.