HerramientasGratis Online

.gitignore Generator

Create your .gitignore in seconds — free and no sign-up

Select your project's languages, frameworks and tools and get a complete, ready-to-use .gitignore file. No ads, no sign-up.

Quick presets

Operating System

Editors & IDEs

Languages

Frameworks

Tools

Mobile

Preview

Select at least one technology to generate the .gitignore

Anuncio · belowTool

How it works

  1. 1Select your project's languages, frameworks and tools by clicking the tags.
  2. 2Use the quick presets to configure a full stack in one click.
  3. 3The preview updates in real time with all combined rules.
  4. 4Download the .gitignore file or copy and paste it into the root of your project.

Frequently asked questions

.gitignore generator: files Git should not track

The .gitignore file tells Git which files and folders to ignore in a repository. Without it, Git will track unnecessary files like dependencies, compiled files, secrets, and local configurations, polluting the project history.

What to include in .gitignore

  • node_modules/, vendor/, __pycache__/ — installed dependencies.
  • .env, .env.local, *.key — environment variables and secrets.
  • dist/, build/, out/ — files generated during compilation.
  • .DS_Store, Thumbs.db — operating system files.
  • *.log, *.tmp, *.cache — temporary files.
  • .idea/, .vscode/settings.json — local IDE configurations.

Syntax rules

Lines starting with # are comments. The asterisk (*) matches any sequence of characters. Double slash (**) matches at any directory level. A pattern starting with / applies only to the repository root. Adding ! before a pattern excludes it from ignore.

Global .gitignore

You can create a global .gitignore in your home folder that applies to all your projects: git config --global core.excludesfile ~/.gitignore_global. Use it for OS or IDE-specific files you never want tracked in any project.

Anuncio · midContent