Overview

Let’s start collaborating the team’s work using “Git”, a distributed version control system.
Collaborating the team’s work using “Git”, Part 1: Setup the Repository

Apply Github account

Firstly, each member in the team should apply his/her own Github account. Go to https://github.com/ then press the sign-up button to begin the application.
Collaborating the team’s work using “Git”, Part 1: Setup the RepositoryThe sign-up process should be straight forward, so it will not be covered in this guide. After the registration, please configure the git command in your local pc (replace eef[email protected] by your registered email) as follow:
Collaborating the team’s work using “Git”, Part 1: Setup the Repository

Initial setup

To start collaborating the team’s work, firstly please choose one of the members to setup the remote repository, let say member A. Then member A should login to Github, and press “Start a project” button.
Collaborating the team’s work using “Git”, Part 1: Setup the RepositoryNext, member A should fill in some basic information of the project.
Collaborating the team’s work using “Git”, Part 1: Setup the RepositoryAt this point, member A may initialize his/her local repository.
Collaborating the team’s work using “Git”, Part 1: Setup the Repository
After that, member A should make the first release to his/her local repository.
Collaborating the team’s work using “Git”, Part 1: Setup the RepositoryCollaborating the team’s work using “Git”, Part 1: Setup the RepositoryThen, member A should connect to the remote repository (please replace “eefelix” by “member A user name”):
Collaborating the team’s work using “Git”, Part 1: Setup the Repository and then push his/her work from the local repository to the remote repository.
Collaborating the team’s work using “Git”, Part 1: Setup the RepositoryIn the next session, I will talk about how other members (e.g. Member B) clone the remote repo and start individual updating.

相关文章: