Search Unity

How can I upload more than 100 files from Unity to Github?

Discussion in 'Editor & General Support' started by BJP19, Nov 19, 2018.

  1. BJP19

    BJP19

    Joined:
    Sep 4, 2018
    Posts:
    4
    Hi, I have been trying to find an alternative for Google Drive to upload my group's project faster, so everyone work on it. When I uploaded the last version of the Unity project in Google Drive, it took by 7 hours to upload. I even tried to collaborate the project with my group and none of the people in the group cannot get everything that I have. The project is due by next Monday, which I hope to find another alternative to upload the project faster. The project that I am working with my group is the 3D Game Kit, which we are assigned to create a dungeon level.

    I recently looked into GitHub, and I attempted to drag the entire project folder into the upload files section. Then, I got this: "Yowza, that’s a lot of files. Try again with fewer than 100 files." Next, I tried to drag the compressed folder of the project. Then, I got this: "Yowza, that’s a big file. Try again with a file smaller than 25MB."

    The project folder that I have when it is compressed with eveything that I have so far is 5,651,876 KB. The folder has the Library, Packages, Project Settings, and the Assets Folders with the 3D Game Kit. In the assets folder, it has the materials that are used, .png files for model textures and level art assets, and .fbx files for the models that I am using in this project.

    If anyone knows how to upload a Unity Project into Github that is more than 100 files and more than 25MB, please let me know as soon as possible. If Github does not work, what other websites or applications can I try to upload the project faster?
     
  2. JasonBricco

    JasonBricco

    Joined:
    Jul 15, 2013
    Posts:
    956
    There’s no need to upload that much to GitHub. I only ever upload Assets folder, Project Settings folder, and the packages manifest file. The other things Unity will rebuild automatically if they're missing (which includes the library folder).
     
  3. BJP19

    BJP19

    Joined:
    Sep 4, 2018
    Posts:
    4
    I tried to upload only the assets folder, but I it says "Yowza, that’s a lot of files. Try again with fewer than 100 files." Is there a way that I can upload more than 100 files? I am also trying to use the GitHub plugin for Unity, but it is not successfully uploading into my repository. I have version Unity 2018.1.0f2, what should I do?
     
  4. mohOsama

    mohOsama

    Joined:
    Feb 7, 2017
    Posts:
    2
    Try to compress your project
     
  5. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,745
    It sounds like nobody above is using source control correctly. You are likely to regret this.

    Please consider using proper industrial-grade enterprise-qualified source control in order to guard and protect your hard-earned work.

    Personally I use git (completely outside of Unity) because it is free and there are tons of tutorials out there to help you set it up as well as free places to host your repo (BitBucket, Github, Gitlab, etc.).

    You can also push git repositories to other drives: thumb drives, USB drives, network drives, etc., effectively putting a complete copy of the repository there.

    As far as configuring Unity to play nice with git, keep this in mind:

    https://forum.unity.com/threads/prefab-links-keep-getting-dumped-on-git-pull.646600/#post-7142306

    Here's how I use git in one of my games, Jetpack Kurt:

    https://forum.unity.com/threads/2-steps-backwards.965048/#post-6282497

    Using fine-grained source control as you work to refine your engineering:

    https://forum.unity.com/threads/whe...grammer-example-in-text.1048739/#post-6783740

    Share/Sharing source code between projects:

    https://forum.unity.com/threads/your-techniques-to-share-code-between-projects.575959/#post-3835837

    Setting up an appropriate .gitignore file for Unity3D:

    https://forum.unity.com/threads/removing-il2cpp_cache-from-project.1084607/#post-6997067

    Generally setting Unity up (includes above .gitignore concepts):

    https://thoughtbot.com/blog/how-to-git-with-unity

    It is only simple economics that you must expend as much effort into backing it up as you feel the work is worth in the first place. Digital storage is so unbelievably cheap today that you can buy gigabytes of flash drive storage for about the price of a cup of coffee. It's simply ridiculous not to back up.

    "Use source control or you will be really sad sooner or later." - StarManta on the Unity3D forum boards
     
  6. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,445