github gitignore code example
Example 1: create gitignore
$ touch .gitignore
Example 2: git add gitignore
$ touch .gitignore
Example 3: gitignore folder
in .gitignore:
folder/
Example 4: git exclude folder
directory_to_exclude/
Example 5: how to git ignore a file
git config --global core.excludesfile ~/.gitignore_global
Example 6: github ue4 gitignore
.vs/
*.slo
*.lo
*.o
*.obj
*.gch
*.pch
*.so
*.dylib
*.dll
*.mod
*.lai
*.la
*.a
*.lib
*.exe
*.out
*.app
*.ipa
*.xcodeproj
*.xcworkspace
*.sln
*.suo
*.opensdf
*.sdf
*.VC.db
*.VC.opendb
SourceArt/**/*.png
SourceArt/**/*.tga
Binaries/*
Plugins/*/Binaries/*
Build/*
!Build/*/
Build/*/**
!Build/*/PakBlacklist*.txt
!Build/**/*.ico
*_BuiltData.uasset
Saved/*
Intermediate/*
Plugins/*/Intermediate/*
DerivedDataCache/*