|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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! |
|
#2
|
||||
|
||||
|
Re: Need assistance uploading code to Github.
|
|
#3
|
||||
|
||||
|
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. |
|
#4
|
||||
|
||||
|
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.
|
|
#5
|
||||
|
||||
|
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 ![]() Last edited by thatprogrammer : 09-23-2015 at 12:26 PM. |
|
#6
|
||||
|
||||
|
In terms of .gitignore, you can pretty much just use the /dist/ file. You don't really need anything else.
|
|
#7
|
||||||
|
||||||
|
Re: Need assistance uploading code to Github.
Quote:
Code:
*~ /bin/ sysProps.xml /build/ /dist/ |
|
#8
|
||||
|
||||
|
Re: Need assistance uploading code to Github.
Yeah, looking back, I didn't think that reply through. Here's a .gitignore that I like. It leaves pretty much only the src.
https://github.com/team236/2016-prac...ter/.gitignore |
|
#9
|
||||
|
||||
|
Re: Need assistance uploading code to Github.
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|