Skip to Content
Git flow

Git flow

This is how tasks are started, developed, tested and deployed to production.

Infrastructure migration tasks and git branches are prefixed with “infra”

Get a Jira task number

Get or create a Jira task. Each task has a prefix and number like ABC-123.

The task slug will depend on the project name and workspace name.

Create a new branch from master

  1. If the task name is: ABC-123 Change user email field
  2. Your git branch should be feature/ABC-123-change-user-email-field
  3. Your git commits should be: “ABC-123: added a new field”
  4. This will give use a historical perspective over when and what was changed in Git Blame when needed in the future.

Create a PR to Stage

  1. Review your changes
  2. Merge the changes to staging branch
  3. Wait for the ci/cd to finish.
  4. Test your changes on staging.
  5. Once they work as expected, inform the BeMyBond team

Create a PR to Production

  1. Once the changes have been approved by BeMyBond team, merge the changes to the master branch
  2. Once the pipeline finishes, your changes will be visible on production.

Don’t merge staging into master. Only feature branches. Because there will situations where you work on multiple tasks and some tasks still need testing. So to not block yourself, only merge feature branches.

Last updated on