|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
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?
|
|
#2
|
||||
|
||||
|
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! ![]() |
|
#3
|
||||
|
||||
|
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. |
|
#4
|
||||
|
||||
|
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> |
|
#5
|
||||
|
||||
|
Re: What does your team use to share code?
Dropbox overwrites with the newest saved version. Thats why we just keep numbered versions (V1, V1.1, V2, V2.1).
|
|
#6
|
|||||
|
|||||
|
Re: What does your team use to share code?
Dropbox actually does give you the ability to restore previously saved versions of a file.* But it isn't really set up for the kind of version control that would be useful for most teams.
Quote:
* That came in handy once when I accidentally saved an empty copy of my son's senior design project. I think he still isn't aware that it happened. |
|
#7
|
||||
|
||||
|
Re: What does your team use to share code?
During the season we use one of our facilities desktops as a SVN server. After the season ends we publish the code on our team's website.
|
|
#8
|
||||
|
||||
|
Re: What does your team use to share code?
Thanks for all the help!
I have been using GitHub for a few weeks and it has been working great! (They even gave our team bronze for free!) Now comes the hardest part, convincing the Programming Captain that GitHub is better than flash drives, he refuses to use GitHub (maybe because he's a Senior and a Sophomore set it up and knows more than him?) and I need to convince him that GitHub is easier to use and better for organizing the 10+ programmers we now have. Last edited by FRC2501 : 30-01-2015 at 09:27. |
|
#9
|
|||||
|
|||||
|
Re: What does your team use to share code?
That's easy, take the flash drive, and hide it.
|
|
#10
|
||||
|
||||
|
Re: What does your team use to share code?
I wish, he keeps 2 on his keychain
Last edited by FRC2501 : 30-01-2015 at 09:35. |
|
#11
|
||||
|
||||
|
Re: What does your team use to share code?
Send him over to this thread
Git is one of the primary version control technologies used in industry and it's good to get familiar with it, especially if you are going into a software engineering job. It allows you to see who changed what, have multiple people editing the same files at once, and rollback any major changes that create issues.Also, on a completely separate but relevant note: You may not want to use what I'm about to say if you've never used git before, but Atlasssian will provide Jira (a bug tracker) to FRC teams for free. It integrates with Github so you can link commits to specific bug. Just thought I would let some other people know if they didn't already. We use Jira constantly for managing our bugs and what everyone on our programming team is doing. I also use Jira at work and I have nothing but good things to say about it (other than a few more complicated features being ... well ... to complicated). |
|
#12
|
|||
|
|||
|
Re: What does your team use to share code?
We keep the stick in a special drawer in the tool box. The team knows that there will be great trouble if anything happens to it.
Plus a copy goes on my drive immediately. If the development laptops could get to the internet we would take a shot at GitHub, but the school district's IT department is kind of tightly wound. Tim |
|
#13
|
||||
|
||||
|
Re: What does your team use to share code?
Quote:
I strongly suggest you talk to the Site Tech or someone with administrative properties, Github is a very useful resource especially when you have more than 3 code monkeys. |
|
#14
|
||||
|
||||
|
Re: What does your team use to share code?
Quote:
|
|
#15
|
||||
|
||||
|
Re: What does your team use to share code?
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|