search

Home  >  Q&A  >  body text

How to upload Unity3D project to github?

I am learning Unity3D game development recently. After I created a new project, I downloaded several resources from the assets store. I dragged the prefab to my own scene and used it in the project. Then I found that the scene was deleted from the resources originally downloaded from the assets store. The prefab used inside does not have material. If I want to upload it to github for backup without deleting it, the project file can be about 300MB. I saw that a png picture is about 10MB.

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

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