Ignoring folder meta files on version control

后端 未结 3 1362
不知归路
不知归路 2021-01-30 12:13

Unity creates and deletes meta files for folders inside the Asset folder.

That can create an annoying situation when using version control (that you can skip an

3条回答
  •  情书的邮戳
    2021-01-30 12:52

    Add this to .gitignore

    #Ignore all .meta file
    *.meta
    #But not source file with postfix. which is everything but a folder
    !*.*.meta
    

    This will ignore file without postfix. But that shouldn't hurt.

提交回复
热议问题