可以忽略哪些Unity项目文件进行版本控制? [英] Which Unity project files can be ignored for version control?

查看:1095
本文介绍了可以忽略哪些Unity项目文件进行版本控制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当检查版本控制(SVN/GIT)时,可以安全地忽略一个统一项目中的哪个文件/目录?

Which files / directories in a unity project can be safely ignored when checking into version control (SVN / GIT)?

温度/

/Library/cache/

/Library/cache/

推荐答案

第一组编辑->项目设置->资产序列化=强制文本

First set Edit -> Project Settings -> Asset Serialization = force text

然后将此文件用于git: https://github.com/github/gitignore/blob/master/Unity.gitignore (在主文件夹中复制在Assets,Library等附近).如果使用svn,请停止使用svn.

Then use this file for git: https://github.com/github/gitignore/blob/master/Unity.gitignore (copy in the main folder near Assets, Library etc.). If using svn stop using svn.

是的,.meta文件是必需的.

And yes, the .meta files are necessary.

这篇关于可以忽略哪些Unity项目文件进行版本控制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆