Unity的gitignore
# Unity的gitignore输入
```
touch .gitignore
```
建立一个gitignore文件
然后粘贴
```
# 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
#
/ibrary/
/emp/
/bj/
/uild/
/uilds/
/ogs/
/serettings/
# MemoryCaptures can get excessive in size.
# They also could contain extremely sensitive data
/emoryCaptures/
# Recordings can get excessive in size
/ecordings/
# Uncomment this line if you wish to ignore the asset store tools plugin
# /ssets/AssetStoreTools*
# Autogenerated Jetbrains Rider plugin
/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
/ssets/ddressablessetsata/*/*.bin*
# Temporary auto-generated Android Assets
/ssets/treamingAssets/aa.meta
/ssets/treamingAssets/aa/*
```
网址:https://github.com/github/gitignore/blob/master/Unity.gitignore
好有用!
页:
[1]