Skip to main content

GitLab Flow

A production trunk, feature branches and Merge Requests: a predictable, CI/CD-friendly workflow, set up in one click.

The branch structure, set up in one click

  • production branch Trunk
  • feature and hotfix branches for all new development
  • main and staging branches for more complex releases
GitLab Flow in Tower Workflows
GitLab Flow in Tower Workflows

How It Works

Tower Workflows with GitLab Flow

Getting up and running is simple!

  1. Tower Workflows - Workflow picker with GitLab Flow highlighted
    Tower Workflows - Workflow picker with GitLab Flow highlighted

    Choose the GitLab Flow Preset

    Select the "GitLab Flow" preset to configure Tower with the trunk, base, and topic branches of this workflow.

  2. Tower Workflows – Choosing the Downstream Merge Strategy for GitLab Flow
    Tower Workflows – Choosing the Downstream Merge Strategy for GitLab Flow

    Customize it!

    Start with the GitLab Flow preset, then tailor everything to your team's exact needs.

    Tower Workflows lets you fine-tune every aspect of your branching process:

    • Add and remove Base and Topic branches
    • Keep branches updated by defining their parent
    • Define upstream/downstream merge strategies
    • Enable or disable merge commit creation
    • Enable or disable tag creation when integrating changes
  3. Tower Workflows - Finish GitLab Flow Feature
    Tower Workflows - Finish GitLab Flow Feature

    Begin and Finalize Your Task Pro

    To begin, click the "Start..." option. This instantly creates and checks out a dedicated feature branch for your work.

    When complete, click "Finish..." to integrate your changes. Upon a successful merge, your local branch will be automatically deleted.

Tower offering to integrate changes from the parent branch, reporting no conflicts
Tower offering to integrate changes from the parent branch, reporting no conflicts

Keeping Branches in Sync

With the parent branch set up, Tower can easily notify you whenever it's time to update your topic branch and inform you if any merge conflicts will occur during the process.

What is GitLab Flow?

GitLab Flow is a branching strategy that combines feature-driven development and feature branches with issue tracking and Continuous Integration/Continuous Delivery (CI/CD).

Developers create short-lived feature branches off the main branch, and once complete, they submit a Merge Request (MR).

Unlike GitHub Flow, it offers flexibility by optionally including environment branches (like staging or production) or release branches to manage deployments and stable versions.

Why use GitLab Flow?

  1. Enhanced Traceability: It tightly integrates the code workflow with issue tracking, ensuring every code change is directly linked to a business goal or bug fix via a Merge Request.
  2. Structured Testing: By using environment branches (e.g., main → staging → production), changes flow downstream, ensuring code is fully tested in each environment before being deployed to the next.
  3. Simplified Versioning: It provides a clear, managed way to handle both Continuous Delivery (by merging to environment branches) and Versioned Releases (by creating specific release branches for maintenance), reducing the complexity found in GitFlow.

Try Tower Workflows Today

Download the trial and start designing the perfect branching workflow for your project.