Git + LFS

LFS (Large File System)

# install git lfs install # unreal engine files git lfs track "*.uasset" git lfs track "*.umap" # track by pattern git lfs track "*.psd" git lfs track "*.png"
Bash
복사

.DS_STORE 모두삭제

find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
Bash
복사

UE Project .gitignore

# Created by https://www.toptal.com/developers/gitignore/api/unrealengine # Edit at https://www.toptal.com/developers/gitignore?templates=unrealengine # Mac dummy /.DS_Store/ # IDE .vscode .fleet .idea # 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 *.xcworkspace *.sln *.suo *.opensdf *.sdf *.VC.db *.VC.opendb # Precompiled Assets SourceArt/**/*.png SourceArt/**/*.tga # Binary Files Binaries/* Plugins/*/Binaries/* # Builds Build/* # Whitelist PakBlacklist-<BuildConfiguration>.txt files !Build/*/ Build/*/** !Build/*/PakBlacklist*.txt # Don't ignore icon files in Build !Build/**/*.ico # Built data for maps *_BuiltData.uasset # Configuration files generated by the Editor Saved/* # Compiled source files for the engine to use Intermediate/* Plugins/*/Intermediate/* # Cache files for the editor to use DerivedDataCache/* ### UnrealEngine Patch ### # Don't ignore icon and splash images for mobile app !Build/IOS/Resources/ Build/IOS/Resources/* !Build/IOS/Resources/Graphics/ Build/IOS/Resources/Graphics/* !Build/IOS/Resources/Graphics/*.png !Build/Android/res/ Build/Android/res/* !Build/Android/res/*/ Build/Android/res/*/* !Build/Android/res/*/*.png # Ignore plugins binaries on deep subfolders Plugins/**/Binaries/* Plugins/**/Intermediate/* # End of https://www.toptal.com/developers/gitignore/api/unrealengine
Bash
복사