Skip to content

Instantly share code, notes, and snippets.

@jstarrdewar
Created July 26, 2018 17:45
Show Gist options
  • Save jstarrdewar/231cb3c1764f4ed66111819a6c1dfa86 to your computer and use it in GitHub Desktop.
Save jstarrdewar/231cb3c1764f4ed66111819a6c1dfa86 to your computer and use it in GitHub Desktop.
My standard .gitignore file for UE4
# Ignore all files by default, but scan all directories.
*
!*/
# Do not ignore git files in the root of the repo.
!/.git*
# Do not ignore current project's `.uproject`.
!/*.uproject
# Do not ignore source, config and plugins dirs.
!/Source/**
!/Config/**
!/Plugins/**
# Only allow .uasset and .umap files from /Content dir.
# They're tracked by git-lfs, don't forget to track other
# files if adding them here.
!/Content/**/*.uasset
!/Content/**/*.umap
!/Content/**/*.tbe
!/Content/**/*.wav
# Allow any files from /RawContent dir.
# Any file in /RawContent dir will be managed by git lfs.
!/RawContent/**/*
# OS/platform generated files.
# Windows
ehthumbs.db
Thumbs.db
# Mac OS X
.DS_Store
.DS_Store?
.AppleDouble
.LSOverride
._*
# Linux
*~
.directory
# vim
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
# Visual Studio
.vs
**/Intermediate/**
**/Binaries/**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment