开源做网站需要申请账号吗,广州企业一网通办,电商平台软件开发公司,个人网站建设 毕业设计目前项目这样版本控制#xff1a;
1、在unity里#xff0c;应该只对Assets#xff08;包含,meta#xff09;和ProjectSettings这两个文件夹做版本控制#xff0c;其他的文件都是unity或工具生成出来的。
2、设置project setting -editor setting- Asset seriali…目前项目这样版本控制
1、在unity里应该只对Assets包含,meta和ProjectSettings这两个文件夹做版本控制其他的文件都是unity或工具生成出来的。
2、设置project setting -editor setting- Asset serialization为Force Text
3、在unity项目里面会包含大于100M的文件所以在git上去的时候会出现大文件问题按以下解决方式
含大文件的方式管理下面是具体解决步骤
git lfs install # 安装lfsfind ./ -size 100M # 找到项目文件下大文件 git lfs track {上面搜索到的大文件路径}git add .gitattributes# 正常提交git add {上面搜索到的大文件路径}git commit -m Add large filegit push
可能会遇到的问题
1、如果是提交到码云在同步代码到码云的时候可能会遇到以下问题 1、WARNING: Authentication error: Authentication required: LFS only supported repository in paid enterprise. 2、batch response: LFS only supported repository in paid enterprise. 第一个错误可以执行下面操作 git config lfs.https://gitee.com/{your_gitee}/{your_repo}.git/info/lfs.locksverify false 第二个错误是因为付费才可以使用可以执行下面操作 rm .git/hooks/pre-push 参考
作者halftone 原文链接https://www.zhihu.com/question/27032786/answer/34989289 来源知乎
作者枫叶㐅神无月 原文链接git上传大文件问题解决_warning: authentication error: authentication requ-CSDN博客 来源csdn