提交 56e3f5a7 编写于 作者: L Lucas Steer 提交者: Brendan Forster

[Unity] Added leading slashes to ignored directories so that valid...

[Unity] Added leading slashes to ignored directories so that valid subdirectories aren't ignored incorrectly (#2980)

* Added leading slashes to ignored directories so that valid subdirectories aren't ignored incorrectly

* Added comment to recommend .gitignore placement; added leading slash for AssetStoreTools rule

* Added a leading slash to never ignore .meta files in the root Asset folder
上级 6d467f5e
[Ll]ibrary/ # This .gitignore file should be placed at the root of your Unity project directory
[Tt]emp/
[Oo]bj/ /[Ll]ibrary/
[Bb]uild/ /[Tt]emp/
[Bb]uilds/ /[Oo]bj/
[Ll]ogs/ /[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
# Never ignore Asset meta data # Never ignore Asset meta data
![Aa]ssets/**/*.meta !/[Aa]ssets/**/*.meta
# Uncomment this line if you wish to ignore the asset store tools plugin # Uncomment this line if you wish to ignore the asset store tools plugin
# [Aa]ssets/AssetStoreTools* # /[Aa]ssets/AssetStoreTools*
# TextMesh Pro files # TextMesh Pro files
[Aa]ssets/TextMesh*Pro/ [Aa]ssets/TextMesh*Pro/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册