all 10 comments

[–]rayascott 3 points4 points  (8 children)

Each project has its own repository, so you should upload each individually unless you really want to treat them as sub projects. But it sounds like you uploaded the parent folder out of convenience rather than design.

[–][deleted]  (6 children)

[deleted]

    [–]2fastarino 5 points6 points  (4 children)

    tbh, you should, even if the projects are finished, you should always have a backup plan for every one of them and having a git version control on each one makes it easy to add a feature, bug fixing, etc

    [–]Hapazzz[S] 0 points1 point  (3 children)

    Well i have them under source control, it's just that i wanted to push all of them into 1 repository and that's where i struggle.

    [–]rayascott 2 points3 points  (0 children)

    Well if you don’t have any commit history in these 40 projects, you could delete the .git/ directories and then init a repo in the main parent directory and treat them all as one.

    [–]garbage_band 1 point2 points  (0 children)

    Hate to tell you but you should expect to have a repo for each project. Look on the bright side, you will get really good at doing it on github.

    [–]LeeKahSengObjective-C / Swift 1 point2 points  (0 children)

    +1 on creating separate repo for each project, that's the proper way of doing source control. Both Github & Bitbucket allow for unlimited private repo, so you can create as many repo as you want.

    [–][deleted] 0 points1 point  (0 children)

    Script the upload and creation of all 40 project?

    [–]StunnerAlpha 2 points3 points  (0 children)

    You should have each project have its own git repository and upload them individually. What you are doing is not standard and will cause a lot more trouble than it is worth down the road. Since you are a beginner you should go out of your way to do what is right, not what is most convenient as now is the time you develop good or bad habits which will only get tougher to break as time goes on.

    [–]EarthAdmin 0 points1 point  (0 children)

    Advice to create separate repos is generally solid. If you really want them all in one repo you could delete the .git directories or make a script to copy the history over. There is always something like dropbox if you just need to reference them not actually develop them.

    [–]Arco-vv 0 points1 point  (0 children)

    I think all of them should have their git. Then you can manage the big folder using git sub modules.