Skip to content

Git Branching and Merging Strategy for a Shared Team Resource #21756

Discussion options

You must be logged in to vote

The basic git branching workflow is this:

  1. Pick a base branch
  2. Make a new branch from the base to keep your changes on
  3. Make the changes
  4. Do whatever testing and review you need
  5. Merge the new branch into the base branch
  6. Optionally:  delete the new branch

So let’s say that you have the following setup at the start of sprint S:

  • Team 1 has branch team-1-development pointing to current-release
  • Team 2 has branch team-2-development pointing to current-release

As the sprint continues, members of Team 1 and Team 2 follow the basic git workflow by:

  1. Pick their team’s base branch: either team-1-development or team-2-development
  2. Make a new branch from the base to keep their changes on
  3. Make the c…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants