![]() |
Need assistance uploading code to Github.
Hey,
I've been trying to upload my code to a github repo, so I can work on it from school. Despite getting some help from another team through CD, I am still confused how to do this. I can figure out how to upload my code to a .git file on my pc, but I have no idea how to upload that to the repo on the github website. If any additional info is needed for you to help, please ask! Thanks! |
Re: Need assistance uploading code to Github.
|
Re: Need assistance uploading code to Github.
Simple guide using Git bash:
It is recommended that you have a decent .gitignore file in the root directory of your workspace, in order to keep unnecessary files out of the repository. A good example of a .gitignore file can be found here. |
Re: Need assistance uploading code to Github.
Please take the time to actually understand git before using it with other people. Don't just copy paste commands from guides online.
|
Re: Need assistance uploading code to Github.
Quote:
Sorry if it appears like I'm in a rush, this code does need to be uploaded fast. (Currently going to upload the code, and then work on properly learning git) EDIT: Managed to post the code to our repo! I'm continuing to learn git as I go on, but at least I can work on robot code from anywhere now :) |
In terms of .gitignore, you can pretty much just use the /dist/ file. You don't really need anything else.
|
Re: Need assistance uploading code to Github.
Quote:
Code:
*~ |
Re: Need assistance uploading code to Github.
Quote:
https://github.com/team236/2016-prac...ter/.gitignore |
Re: Need assistance uploading code to Github.
Quote:
|
| All times are GMT -5. The time now is 10:22. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi