Skip to content

Instantly share code, notes, and snippets.

@AchimTuran
Created November 17, 2021 08:25
Show Gist options
  • Save AchimTuran/6607a375ccf2aa026e62e29f0c1a0300 to your computer and use it in GitHub Desktop.
Save AchimTuran/6607a375ccf2aa026e62e29f0c1a0300 to your computer and use it in GitHub Desktop.
gitattributes & gitignore for a UE4 projects
# UE file types
*.uasset filter=lfs diff=lfs merge=lfs -text
*.umap filter=lfs diff=lfs merge=lfs -text
# Raw Content types
*.fbx filter=lfs diff=lfs merge=lfs -text
*.3ds filter=lfs diff=lfs merge=lfs -text
*.psd filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.mp3 filter=lfs diff=lfs merge=lfs -text
*.mp4 filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
*.xcf filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.pptx filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
# source: https://github.com/samsheff/UE4-Gitignore/blob/master/UE4.gitignore
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
*.ipa
# these project files can be generated by the engine
*.xcodeproj
*.sln
*.suo
*.opensdf
*.sdf
*.sln
*.vc.db
.vs/*
# Precompiled Assets
SourceArt/**/*.png
SourceArt/**/*.tga
# Binary Files
Binaries/*
# Builds
Build/*
# Don't ignore icon files in Build
!Build/**/*.ico
# Configuration files generated by the Editor
Saved/*
# Compiled source files for the engine to use
Intermediate/*
# Cache files for the editor to use
DerivedDataCache/*
# Mac Artifacts
.DS_Store
# Vim Artifacts
*.swp
*.swo
.ctrlp_cache/
# skip all plugin builds
Plugins/*/Binaries/*
Plugins/*/Intermediate/Build/*
/_build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment