|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: What does your team use to share code?
Our GitHub Settings shows that we were given a free Bronze account, providing 10 free private repositories.
|
|
#2
|
||||
|
||||
|
Re: What does your team use to share code?
We currently use GitHub as well, but in the past we've simply done all of our robot programming on one laptop (with a second laptop serving as a backup). There are disadvantages to that, but it makes sure there's only one copy of the code.
|
|
#3
|
||||
|
||||
|
Re: What does your team use to share code?
adding another one for github, but when its very simple code we just use pastebin
|
|
#4
|
|||
|
|||
|
Re: What does your team use to share code?
Another for github. A bit of a learning curve to get used to it, but the features are super powerful. Also hip and new
it's what all the cool kids use. |
|
#5
|
|||
|
|||
|
Re: What does your team use to share code?
One last thing about git is that it allows for access to your complete history even without internet access, which can be very helpful at most competitions -- not that we ever have to edit our code at competition :-)
|
|
#6
|
||||
|
||||
|
Re: What does your team use to share code?
Thanks for all the help!
On our team it seems like every programmer brings their own computer to work on so we will try using Github, the problem we've been having with flash drives is that you can't easily merge codes, does Github merge codes if 2 people are working at once? (anyone have a link to a tutorial on how to use it for FRC?) |
|
#7
|
|||
|
|||
|
Re: What does your team use to share code?
Yes, git (the software one uses to publish changes to github and to manage changes made to software locally) is very good at handling merges. See http://git-scm.com/book/en/v2/Git-Br...ng-and-Merging
|
|
#8
|
||||
|
||||
|
Re: What does your team use to share code?
Quote:
Github is also one of the largest hosted source control products used today. It's a good skill to have (ability to use git) as you will need to use it out in the professional world. Pull requests are one feature Github has which enable teams to do code review (aka before code enters the main code base, another person has to look over it first). This is a really good practice to get into and Github makes it very easy to do. https://help.github.com/articles/using-pull-requests/ Lastly, Github gives FRC teams a free silver organization (https://github.com/pricing). You can request it at https://github.com/edu. |
|
#9
|
||||
|
||||
|
Re: What does your team use to share code?
We use dropbox. Any programmers, or anyone who might just use the code is invited to a shared dropbox folder. If you download the dropbox program is shows up like any other folder on your device, and you can save just like normal. Everyone will have access to the newest code immediately after its saved on whatever device last worked on it.
|
|
#10
|
||||
|
||||
|
Re: What does your team use to share code?
What happens if you have 2 programmers working on code at the same time? Does dropbox try to merge your codes? or does it just take the newest one?
|
|
#11
|
||||
|
||||
|
Re: What does your team use to share code?
Git is probably a really good way to keep your code, even if you are programming yourself. I have a GitHub account and it has saved me a lot of work.
Just yesterday, I had a problem, where I was pushing a small change to my repo in the sky at GitHub. I tried to remove the build folder using the command: PHP Code:
PHP Code:
It took me about 15 minutes to fix my large mistake. If I didn't use GitHub, I would have lost 2 weeks of work! ![]() |
|
#12
|
||||
|
||||
|
Re: What does your team use to share code?
Does anyone know of any examples on how to use Github for FRC C++?
Last edited by frcteam2501 : 12-11-2014 at 17:33. |
|
#13
|
||||
|
||||
|
Re: What does your team use to share code?
My repositories are about 90% C/C++
.Feel free to check out every inch of it ![]() https://github.com/yash101 To download a repository, user@dev~/soft $ git clone <location of repository> |
|
#14
|
||||
|
||||
|
Re: What does your team use to share code?
Quote:
http://git-scm.com/book/en/v1/Getting-Started https://guides.github.com/introduction/flow/ https://guides.github.com/activities/hello-world/ https://www.atlassian.com/git/tutorials/ |
|
#15
|
||||
|
||||
|
Re: What does your team use to share code?
Our school set up every student with a Google account with unlimited Google Drive space. We put the programs into a zip file and upload and share it through google drive.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|