.gitignore pour Godot
9 règles d’exclusion pour Godot, prêtes à copier dans votre dépôt.
Moteur de jeu open source
Le .gitignore complet pour 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
Ce que ces règles Godot ignorent vraiment
Chaque motif ci-dessous, et pourquoi il a sa place dans votre .gitignore.
Godot 4+ specific ignores
| Motif | Ce qu’il ignore |
|---|---|
.godot/ |
Godot 4+ specific ignores |
.nomedia |
Godot 4+ specific ignores |
Godot-specific ignores
| Motif | Ce qu’il ignore |
|---|---|
.import/ |
Godot-specific ignores |
export.cfg |
Godot-specific ignores |
export_credentials.cfg |
Godot-specific ignores |
Imported translations (automatically generated from CSV files)
| Motif | Ce qu’il ignore |
|---|---|
*.translation |
Imported translations (automatically generated from CSV files) |
Mono-specific ignores
| Motif | Ce qu’il ignore |
|---|---|
.mono/ |
Mono-specific ignores |
data_*/ |
Mono-specific ignores |
mono_crash.*.json |
Mono-specific ignores |
Comment utiliser ce .gitignore pour Godot
- Copiez les règles Godot ci-dessus, ou téléchargez directement le fichier.
- Créez un fichier nommé .gitignore à la racine de votre dépôt Git et collez-y les règles.
- Si certains de ces fichiers sont déjà suivis, lancez git rm -r --cached . puis recommitez — Git n’applique les règles d’exclusion qu’aux fichiers non suivis.
- Commitez le .gitignore pour que toute l’équipe partage les mêmes règles.