.gitignore pour Unreal Engine
42 règles d’exclusion pour Unreal Engine, prêtes à copier dans votre dépôt.
Moteur de jeu développé par Epic Games
Le .gitignore complet pour Unreal Engine
# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-03-04 01:31:51 UTC
# Technologies: Unreal Engine
### Unreal Engine ###
.vs/
*.slo
*.lo
# Object file
*.o
# Object file
*.obj
*.gch
*.pch
# iOS app archive
*.ipa
# Shared object
*.so
# macOS dynamic library
*.dylib
# Dynamic link library
*.dll
*.mod
*.lai
*.la
# Static library
*.a
# Library file
*.lib
# Windows executable
*.exe
# Compiler output
*.out
*.xcodeproj
# Application bundle
*.app
*.xcworkspace
# Visual Studio solution
*.sln
# Solution user options
*.suo
*.opensdf
*.sdf
*.VC.db
*.VC.opendb
.vsconfig
SourceArt/**/*.png
SourceArt/**/*.tga
Binaries/*
Plugins/**/Binaries/*
Build/*
!Build/*/
Build/*/**
!Build/*/PakBlacklist*.txt
!Build/**/*.ico
*_BuiltData.uasset
Saved/*
Intermediate/*
Plugins/**/Intermediate/*
DerivedDataCache/*
Ce que ces règles Unreal Engine ignorent vraiment
Chaque motif ci-dessous, et pourquoi il a sa place dans votre .gitignore.
Visual Studio 2015 user specific files
| Motif | Ce qu’il ignore |
|---|---|
.vs/ |
Visual Studio 2015 user specific files |
Compiled Object files
| Motif | Ce qu’il ignore |
|---|---|
*.slo |
Compiled Object files |
*.lo |
Compiled Object files |
*.o |
Object file |
*.obj |
Object file |
Precompiled Headers
| Motif | Ce qu’il ignore |
|---|---|
*.gch |
Precompiled Headers |
*.pch |
Precompiled Headers |
Executables
| Motif | Ce qu’il ignore |
|---|---|
*.ipa |
iOS app archive |
*.exe |
Windows executable |
*.out |
Compiler output |
*.app |
Application bundle |
Compiled Dynamic libraries
| Motif | Ce qu’il ignore |
|---|---|
*.so |
Shared object |
*.dylib |
macOS dynamic library |
*.dll |
Dynamic link library |
Fortran module files
| Motif | Ce qu’il ignore |
|---|---|
*.mod |
Fortran module files |
Compiled Static libraries
| Motif | Ce qu’il ignore |
|---|---|
*.lai |
Compiled Static libraries |
*.la |
Compiled Static libraries |
*.a |
Static library |
*.lib |
Library file |
These project files can be generated by the engine
| Motif | Ce qu’il ignore |
|---|---|
*.xcodeproj |
These project files can be generated by the engine |
*.xcworkspace |
These project files can be generated by the engine |
*.sln |
Visual Studio solution |
*.suo |
Solution user options |
*.opensdf |
These project files can be generated by the engine |
*.sdf |
These project files can be generated by the engine |
*.VC.db |
These project files can be generated by the engine |
*.VC.opendb |
These project files can be generated by the engine |
.vsconfig |
These project files can be generated by the engine |
Precompiled Assets
| Motif | Ce qu’il ignore |
|---|---|
SourceArt/**/*.png |
Precompiled Assets |
SourceArt/**/*.tga |
Precompiled Assets |
Binary Files
| Motif | Ce qu’il ignore |
|---|---|
Binaries/* |
Binary Files |
Plugins/**/Binaries/* |
Binary Files |
Builds
| Motif | Ce qu’il ignore |
|---|---|
Build/* |
Builds |
Whitelist PakBlacklist-<BuildConfiguration>.txt files
| Motif | Ce qu’il ignore |
|---|---|
!Build/*/ |
Whitelist PakBlacklist-<BuildConfiguration>.txt files |
Build/*/** |
Whitelist PakBlacklist-<BuildConfiguration>.txt files |
!Build/*/PakBlacklist*.txt |
Whitelist PakBlacklist-<BuildConfiguration>.txt files |
Don't ignore icon files in Build
| Motif | Ce qu’il ignore |
|---|---|
!Build/**/*.ico |
Don't ignore icon files in Build |
Built data for maps
| Motif | Ce qu’il ignore |
|---|---|
*_BuiltData.uasset |
Built data for maps |
Configuration files generated by the Editor
| Motif | Ce qu’il ignore |
|---|---|
Saved/* |
Configuration files generated by the Editor |
Compiled source files for the engine to use
| Motif | Ce qu’il ignore |
|---|---|
Intermediate/* |
Compiled source files for the engine to use |
Plugins/**/Intermediate/* |
Compiled source files for the engine to use |
Cache files for the editor to use
| Motif | Ce qu’il ignore |
|---|---|
DerivedDataCache/* |
Cache files for the editor to use |
Comment utiliser ce .gitignore pour Unreal Engine
- Copiez les règles Unreal Engine 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.