Open main menu

CDOT Wiki β

Changes

GIT for OOP344 Projects

No change in size, 00:43, 15 October 2012
no edit summary
This page is to give a brief guideline of how to use '''''github''''' for OOP344 or other school projects.
=Command line Or or GUI Tools=
Please use any of the Tools you are more comfortable to work with git.
There are several GUI interfaces that may make working with git easier for you.
Logging to your github account you will notice that you are now member of a team that carries a similar name to your team name. Also you have full access to a repository with the same name.
=cloning Cloning the repository=
The first step is to clone the repository since it contains the initial files to start the project.
<big><pre>
#create the issues on github assigning them to the team members
#: It is recommended to create a milestone and attach /assign it to the issue for follow up
=branch Branch the master repository=
#Each team member now branches the master repository under a relative name to the issue she/he is working on.
#switch your repository to the branch created
#push the branch back to github
=work Work on the issue=
#start working on the issue committing the work regularly
#push the changes to the branch on github to share, discuss your code and problems with your professor and team members
#when task is completed create a pull request to merge back the branch to the master repository.
#assign the pull request to the team member responsible for code review
=review Review the code=
#check out the code and make sure it is proper and working to your best knowledge.
#share your concerns with your team-mates through the discussion board of attached to the issue/pull request
=merge Merge the code back to master repository=
#when ready, merge the branch back to the master branch
#resolve possible conflicts
#test the master repository one last time
#close the pull request.