Re your Repo, how do you upload the games there? I'd like to upload a game series to Github to spread around to my friends but I have no clue how
I'll tell you but its a bit convoluted, so i dont recommend github unless you plan to add a lot of stuff to it to warrent the work. so what you're gonna wanna do is make an account on github, then download the github app. You're gonna make a new repository and name it whatever you want. Add a read me to it and publish it and make sure you can set it as public in your github settings.
once your repo is public, you're gonna download git for windows. aka Gitbash. After that, you need to download githubs LFS if you wanna handle any large files. and what git considers a large file is anything over 100mb so, most things. Biggest file you can do is ~5gb. Anything larger you're gonna have to use something else, sorry.
Anyways- Follow the instructions on that site using gitbash to install it.
Now you're finally ready to upload a game. Assuming your game is over 100mb, you're going to want to go to the github app and open your repository in your file explorer. Take your game and compress it into a zip, rar, whatever compressed file you like. You're gonna wanna throw your new file into your repo, just drag the file right in. Next- you're gonna open gitbash again. Go to the folder of your repo that has your file in it and right click it and click 'copy as path'. Next go to gitbash and do the following command:
Where /path/ is the path you copied. Right click to paste things in, Ctrl+Z won't work. Shift+Ins also works.
this'll change your directory. Next you'll do the following command
or .rar or whatever file you compressed your game to. It should say it's tracking. Next, go to your file explorer again and click your game file then right click and copy it as a path. Go back to gitbash and do the following command
git add "path/to/file.zip"
where you paste in the path. In my experience you'll need to add the " as it wont be added automatically like it was when copying the folder.
Next do the following command
git commit -m "whatever you want the note assigned to this update to be"
Now you wait and it should upload your file. If all goes well it'll tell you that it pushed it successfully and you can go to your repo on the github website, copy the link and share it around. As it's so convoluted I really only recommend doing this if you plan to make a full repo like I have. You can upload a max of 25gb i think? to github before they make you pay for more lfs or you make a new account and start over there.
If your file happens to be under 100mb. Great news! Just drag the file in and go to the github app and just push it through. it should just work. if it gives you an error saying it's too big well, you know what to do.
Hopefully this helps! Feel free to come ask me any questions or help troubleshoot. I hope to start my next repo soon, I reached my upload max so I've gotta make a new account ahhh i've been putting it off for ages.