Go to Post SWARF is evil! - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-12-2012, 16:21
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 494
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: Git-scm , Github

I'm just curious because my team wants to use a version share server. With github all they would have to do is pull down the code and upload when they are done right? If that is true then who/what manages the merges or the back ups?
Reply With Quote
  #2   Spotlight this post!  
Unread 09-12-2012, 16:32
BigJ BigJ is offline
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 945
BigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond repute
Re: Git-scm , Github

Quote:
Originally Posted by tomy View Post
I'm just curious because my team wants to use a version share server. With github all they would have to do is pull down the code and upload when they are done right? If that is true then who/what manages the merges or the back ups?
Git is a distributed version control system. A common workflow is to have one repository that acts as the common "server" which you keep on github. However, anyone that participates clones the repository and has a full copy of the repository on their machine. They make changes and commit them to their own repository. Before joining the "server" code one fetches the latest updates from the server to solve any conflicting merge issues, then "pushes" their changes to the server. Depending on your setup different users can have push rights, or may be required to make a pull request for an administrator to pull the changes into the server repository.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-12-2012, 16:34
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Git-scm , Github

Quote:
Originally Posted by tomy View Post
I'm just curious because my team wants to use a version share server. With github all they would have to do is pull down the code and upload when they are done right? If that is true then who/what manages the merges or the back ups?
Github is a distributed version control system, which means that each user has their own local copy of the code where they make their changes. Contrast that with Subversion which uploads commits to a central server as they are made.

So, you would "pull" the changes into your local copy, merge the branches on your local copy, and then "push" those changes to the remote repository. After ensuring that everything compiles and works properly, of course.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote
  #4   Spotlight this post!  
Unread 09-12-2012, 18:03
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Git-scm , Github

To answer the original question:

Part 0, How to set up Git
https://www.youtube.com/watch?v=vaNGbk6HN9Y

Part 1, Basic functions of Git
https://www.youtube.com/watch?v=DQUcmNO4diQ

Part 2, Advanced functions of Git
https://www.youtube.com/watch?v=Y7qPI9Nx3nc

Part 3, Git workflow
https://www.youtube.com/watch?v=3nSoTC3GHn8

Part 3.5, Multiple-user projects
https://www.youtube.com/watch?v=7RrP9kbHFnc

Part 4, Resolving merge conflicts
https://www.youtube.com/watch?v=4De86_igTTk

Part 5, Merge conflicts continued
https://www.youtube.com/watch?v=nUuOitvzFrQ

Part 6, Branching
https://www.youtube.com/watch?v=MQ9Yv8csyMU
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 18:18.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi