.gitignore generation tool
Choose a language, framework, IDE, and OS and create a .gitignore for your project in your browser.
Generation settings
Start with a preset or choose the template you need individually.
Existing files/original patterns
You can integrate your existing .gitignore and add project-specific rules.
Generated result
Results can be edited and then copied or downloaded.
- template
- 0
- rules
- 0
- Remove duplicates
- 0
- Number of output lines
- 0
About this tool
You can combine multiple .gitignore templates to create a configuration file that eliminates duplicates.
Features
- Templates for major languages, frameworks, IDEs, and OSes
- Add to or replace existing .gitignore
- Delete duplicate exact match rules
- Dangerous rules, unexclusion conflicts, and missing confidential information rules warnings
How to use
- Select a preset or template.
- Enter existing files and your own patterns as needed.
- Check the generated results and warnings, and save them directly under the project.
Basic syntax of .gitignore
dist/: Exclude all dist directories.*.log: Exclude files with the .log extension.!sample.log: Make sample.log, which was previously excluded, subject to tracking again./build/: Exclude only the build directory directly under the repository.
Limitations
- After generating, be sure to check that no necessary files are excluded.
- Negation rules are affected by the order in which they are written. If you get a warning, check the final order.
- Files that are already tracked by Git will not be untracked just by adding them to .gitignore.
- The template assumes a general configuration and does not guarantee all project configurations.