.gitignore for Godot
9 ignore rules for Godot, ready to copy into your repository.
Open source game engine
The complete .gitignore for Godot
# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-01-31 11:33:42 UTC
# Technologies: Godot
### Godot ###
.godot/
.nomedia
.import/
export.cfg
export_credentials.cfg
*.translation
.mono/
data_*/
mono_crash.*.json
What these Godot rules actually ignore
Every pattern below, and why it belongs in your .gitignore.
Godot 4+ specific ignores
| Pattern | What it ignores |
|---|---|
.godot/ |
Godot 4+ specific ignores |
.nomedia |
Godot 4+ specific ignores |
Godot-specific ignores
| Pattern | What it ignores |
|---|---|
.import/ |
Godot-specific ignores |
export.cfg |
Godot-specific ignores |
export_credentials.cfg |
Godot-specific ignores |
Imported translations (automatically generated from CSV files)
| Pattern | What it ignores |
|---|---|
*.translation |
Imported translations (automatically generated from CSV files) |
Mono-specific ignores
| Pattern | What it ignores |
|---|---|
.mono/ |
Mono-specific ignores |
data_*/ |
Mono-specific ignores |
mono_crash.*.json |
Mono-specific ignores |
How to use this .gitignore for Godot
- Copy the Godot rules above, or download the file directly.
- Create a file named .gitignore at the root of your Git repository and paste the rules into it.
- If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
- Commit the .gitignore so everyone on the team shares the same rules.