Our project follows a structured branching model to ensure clarity and maintainability. The branch structure includes:

Commit Naming Structure

Commits must follow Git best practices. Each commit message should:

Merge Workflow

For merges, we’ve decided on the following process:

  1. The person opening the merge request assigns another team member to review it.
  2. The assigned reviewer is responsible for either approving or closing the merge request.

This ensures accountability and avoids merging unchecked code.

Source Branch Deletion

To maintain traceability during the sprint, source branches will not be deleted after merging. Branches will remain until the sprint is completed.

Visualizing the Branch Structure

GitLab offers a dedicated feature to visualize the repository’s branch structure:

This provides a quick overview of the repo’s state and helps track progress.