If Theo wants some code in Dave's branch, Theo should log into GitHub and pull request from Dave's branch to Theo's branch.
It will be Theo's responsibility to resolve any merge conflicts that arise from the pull.
Once the pull request is complete and any arising merge conflicts resolved, Theo will run the following command to get the code onto his local machine:
git pull origin theo
Stable = the project builds in Xcode and runs in Simulator without crashing
- Commit your code.
git add .thengit commit -m "add cool new feature" - Push to your branch on GitHub.
git push origin <yourname> - Sign in to GitHub and create a pull request from to develop1.
- Name your fellow team members as reviewers2.
Because you may create a conflict. Conflicts are just nicer and easier to deal with in GitHub.
Footnotes
-
The use of both a Master and Develop Branch comes from Gitflow. ↩
-
Every PR that comes in has to be reviewed by another contributor. --Danny de Vries ↩