Last active
November 1, 2024 21:09
-
-
Save blackmagezeraf/74f5eac850d1c778c39fa4c07e28626b to your computer and use it in GitHub Desktop.
Unity Git Initialization Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Unity | |
| *.cginc text | |
| *.cs text diff=csharp | |
| *.shader text | |
| # Unity YAML | |
| *.mat merge=unityyamlmerge eol=lf | |
| *.anim merge=unityyamlmerge eol=lf | |
| *.unity merge=unityyamlmerge eol=lf | |
| *.prefab merge=unityyamlmerge eol=lf | |
| *.asset merge=unityyamlmerge eol=lf | |
| *.meta merge=unityyamlmerge eol=lf | |
| *.controller merge=unityyamlmerge eol=lf | |
| # "physic" for 3D but "physics" for 2D | |
| *.physicMaterial2D merge=unityyamlmerge eol=lf | |
| *.physicMaterial merge=unityyamlmerge eol=lf | |
| *.physicsMaterial2D merge=unityyamlmerge eol=lf | |
| *.physicsMaterial merge=unityyamlmerge eol=lf | |
| # Using Git LFS | |
| # Add diff=lfs merge=lfs to the binary files | |
| # Unity LFS | |
| *.cubemap binary | |
| *.unitypackage binary | |
| # 3D models | |
| *.3dm binary | |
| *.3ds binary | |
| *.blend binary | |
| *.c4d binary | |
| *.collada binary | |
| *.dae binary | |
| *.dxf binary | |
| *.FBX binary | |
| *.fbx binary | |
| *.jas binary | |
| *.lws binary | |
| *.lxo binary | |
| *.ma binary | |
| *.max binary | |
| *.mb binary | |
| *.obj binary | |
| *.ply binary | |
| *.skp binary | |
| *.stl binary | |
| *.ztl binary | |
| # Audio | |
| *.aif binary | |
| *.aiff binary | |
| *.it binary | |
| *.mod binary | |
| *.mp3 binary | |
| *.ogg binary | |
| *.s3m binary | |
| *.wav binary | |
| *.xm binary | |
| # Video | |
| *.asf binary | |
| *.avi binary | |
| *.flv binary | |
| *.mov binary | |
| *.mp4 binary | |
| *.mpeg binary | |
| *.mpg binary | |
| *.ogv binary | |
| *.wmv binary | |
| # Images | |
| *.bmp binary | |
| *.exr binary | |
| *.gif binary | |
| *.hdr binary | |
| *.iff binary | |
| *.jpeg binary | |
| *.jpg binary | |
| *.pict binary | |
| *.png binary | |
| *.psd binary | |
| *.tga binary | |
| *.tif binary | |
| *.tiff binary | |
| *.webp binary | |
| # Compressed Archive | |
| *.7z binary | |
| *.bz2 binary | |
| *.gz binary | |
| *.rar binary | |
| *.tar binary | |
| *.zip binary | |
| # Compiled Dynamic Library | |
| *.dll binary | |
| *.pdb binary | |
| *.so binary | |
| # Fonts | |
| *.otf binary | |
| *.ttf binary | |
| # Executable/Installer | |
| *.apk binary | |
| *.exe binary | |
| # Documents | |
| *.pdf binary | |
| # ETC | |
| *.a binary | |
| *.rns binary | |
| *.reason binary | |
| # Collapse Unity-generated files on GitHub | |
| *.asset linguist-generated | |
| *.mat linguist-generated | |
| *.meta linguist-generated | |
| *.prefab linguist-generated | |
| *.unity linguist-generated | |
| # Spine export file for Unity | |
| *.skel.bytes binary |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This .gitignore file should be placed at the root of your Unity project directory | |
| # | |
| # Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore | |
| # | |
| /[Ll]ibrary/ | |
| /[Tt]emp/ | |
| /[Oo]bj/ | |
| /[Bb]uild/ | |
| /[Bb]uilds/ | |
| /[Ll]ogs/ | |
| /[Uu]ser[Ss]ettings/ | |
| # MemoryCaptures can get excessive in size. | |
| # They also could contain extremely sensitive data | |
| /[Mm]emoryCaptures/ | |
| # Recordings can get excessive in size | |
| /[Rr]ecordings/ | |
| # Uncomment this line if you wish to ignore the asset store tools plugin | |
| # /[Aa]ssets/AssetStoreTools* | |
| # Autogenerated Jetbrains Rider plugin | |
| /[Aa]ssets/Plugins/Editor/JetBrains* | |
| # Visual Studio cache directory | |
| .vs/ | |
| # Gradle cache directory | |
| .gradle/ | |
| # Autogenerated VS/MD/Consulo solution and project files | |
| ExportedObj/ | |
| .consulo/ | |
| *.csproj | |
| *.unityproj | |
| *.sln | |
| *.suo | |
| *.tmp | |
| *.user | |
| *.userprefs | |
| *.pidb | |
| *.booproj | |
| *.svd | |
| *.pdb | |
| *.mdb | |
| *.opendb | |
| *.VC.db | |
| # Unity3D generated meta files | |
| *.pidb.meta | |
| *.pdb.meta | |
| *.mdb.meta | |
| # Unity3D generated file on crash reports | |
| sysinfo.txt | |
| # Builds | |
| *.apk | |
| *.aab | |
| *.unitypackage | |
| *.app | |
| # Crashlytics generated file | |
| crashlytics-build.properties | |
| # Packed Addressables | |
| /[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* | |
| # Temporary auto-generated Android Assets | |
| /[Aa]ssets/[Ss]treamingAssets/aa.meta | |
| /[Aa]ssets/[Ss]treamingAssets/aa/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment