1.

Solve : How do I upload to a GitHub repository??

Answer»

Hello GitHub experts,
I'm new to GitHub and I want to be able to upload some files for my Garry's Mod server (LOADING screen data). I downloaded the Windows software and I created a new repository. I thought it was going to be a simple, easy to use drag-n-drop program but no. So I tried right clicking it and opening it in Explorer. I dragged the files there and then went back to the GitHub software. I added a title and summary to the commit and click Ok. It actually uploaded, or at least on the software! I checked on the repository online and it wasn't there. Just a plain old .gitattributes file. I checked back on the software and I saw at the top the word Sync with the (^1) above it. I CLICKED it and let it sync. I get the MESSAGE "Failed to Upload: Please check the debug console for further details." something like that. I tried opening the GIT Shell and typing "$ git debug LoadingScreen" then "git debug LoadScreen". It dosent work Can anyone how to simply tell me how to upload data?Most User interfaces for git are not very good. The most usable one is PROBABLY TortoiseGIT.

Github does provide instructions when you create a repository about how to upload to it. I don't know how the github software works but with TortoiseGIT you should be able to right click the folder of your local working copy of the repository and add them to your commit, commit them, and then push them to the remote repository.

I'm not really sure how git get's involved with Garry's Mod for uploading- I'm aware of a few mods that use a repository that you pull to install content that isn't supported by the workshop, but I'm unaware of anything where you would actually have to push changes.1st you will need a MAC address...I'd suggest you find a git tutortial and go through it to learn the basics such as this: http://readwrite.com/2013/09/30/understanding-github-a-journey-for-beginners-part-1.

Github is not just some sort of file hosting site, Git is a sophisticated version control system that requires learning to at least understanding what you are doing. You probably don't need to know all the complex stuff at first but you would at least want to know the basics of committing, cloning, pushing and pulling.

This probably seems daunting but it's not that bad and can easily be picked up in under a day.



Discussion

No Comment Found