Home  >  Q&A  >  body text

Unity3D项目怎么上传到github?

我最近在学习Unity3D游戏开发,我新建一个项目之后从assets store下载了几个资源,把prefab拖到自己的场景用到项目里面去之后发现把原来从assets store 下载的资源删除了场景里面的用到的prefab就没有material了。而不删除的话想上传到github备份居然项目文件能到300MB左右,我看光一个png图片都有10MB左右。

github这么大的文件每次都不能上传成功,各位大神是怎么搞的,能给个建议不?
世界只因有你世界只因有你2727 days ago688

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-02 09:48:04

    Build one yourself or buy one for a fee!

    Github is limited to 1G. A single file cannot exceed 100M. If there is a file of 50M, a warning will be issued.

    So when uploading code, remember to remove some large tag files, such as SourceInsight project files

    ctags etc

    You can use the following command to find files over 100M

    find ./ -type f -size +102400k

    reply
    0
  • Cancelreply