Skip to content

GitTeamWorkflow

Gregory McIntyre edited this page Nov 7, 2013 · 1 revision

Typically

  • Create a branch from master to do your work in
  • Create some commits there, locally on your computer
  • Push your branch (e.g. to github) with the same name (not master)
  • Push whenever you want to make sure your work is backed up
  • If using github, create a "pull request" when you think it's good
  • Let your team "code review" the branch (e.g. via github pull request)
  • Let somebody else pull (and merge) your branch into master, which all happens on the remote side (github, not on your laptop)
Clone this wiki locally