瀏覽代碼

Unity: Remove exclusion for *.meta files

If a user has ignored an asset (no matter how dubious that decision may be), they also want to ignore the .meta file. Instead of bringing back .metas that have been ignored, this template should trust that a user has ignored the files they want to ignore.

You'd encounter this issue if you had added an ignore for an asset and its meta above this Unity template, or if another template ignored an asset and meta.

In general excludes may be dangerous in these templates, as they can have unintended consequences on other templates.
Edward Rowe 3 年之前
父節點
當前提交
7bcea28191
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      Unity.gitignore

+ 0 - 3
Unity.gitignore

@@ -14,9 +14,6 @@
 # They also could contain extremely sensitive data
 /[Mm]emoryCaptures/
 
-# Asset meta data should only be ignored when the corresponding asset is also ignored
-!/[Aa]ssets/**/*.meta
-
 # Uncomment this line if you wish to ignore the asset store tools plugin
 # /[Aa]ssets/AssetStoreTools*