icemiao 发表于 2023-4-5 22:48:15

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

icemiao 发表于 2023-4-5 22:48:35

好有用!
页: [1]
查看完整版本: Unity的gitignore