.gitignore for Unreal Engine

A simple .gitignore file when you work on Unreal Engine.
I exclude non-vital files generated by Unreal Engine with Visual Studio or Xcode, on Window and macOS.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Unreal Generated Files
Binaries/*
Build/*
!Build/**/*.ico
Content/StarterContent/*
DerivatedDataCache/*
Intermediate/*
Saved/*
SourceArt/**/*.png
SourceArt/**/*.tga
 
# Visual Studio Generated Files
*.a
*.app
*.dll
*.dylib
*.exe
*.gch
*.ipa
*.la
*.lai
*.lib
*.lo
*.mod
*.o
*.obj
*.opensdf
*.out
*.pch
*.sdf
*.sln
*.slo
*.so
*.suo
*.VC.db
*.VC.opendb
.vs/*
 
# XCode Generated Files
contents.xcworkspacedata
*.xcodeproj
**/xcuserdata
 
# Windows
ehthumbs.db
ehthumbs_vista.db
Thumbs.db
 
# macOS
.apdisk
.AppleDB
.AppleDesktop
.AppleDouble
*.DS_Store
.LSOverride
Network Trash Folder
Temporary Items