Skip to main content

GitHub Flow

One trunk, short-lived feature branches and Pull Requests: the simplest way to ship continuously, set up in one click.

The branch structure, set up in one click

  • main (or master) Trunk
  • Feature Branches for every new feature, fix, or experiment
GitHub Flow in Tower Workflows
GitHub Flow in Tower Workflows

How It Works

Tower Workflows with GitHub Flow

Getting up and running is simple!

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

    Choose the GitHub Flow Preset

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

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

    Customize it!

    Start with the GitHub 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 GitHub Flow Feature
    Tower Workflows - Finish GitHub 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 into "main", 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 GitHub Flow?

GitHub Flow is a lightweight, branch-based workflow centered around a single main branch (often called "main" or "master") that is always deployable. For every new feature or fix, developers create a short-lived branch off of main, commit changes, open a Pull Request (PR) for review, and merge the branch back into main once approved. It is designed for continuous delivery and rapid iteration.

Why use GitHub Flow?

  1. Continuous Deployment: Since the main branch is always in a deployable state, every merge can be shipped immediately, enabling rapid releases and smaller, frequent updates.
  2. Clear Feedback Loop: Pull Requests serve as the central place for discussion, review, and automated testing, ensuring code quality before merging.
  3. Simple and Intuitive: Its straightforward structure relies on only two main concepts (branches and Pull Requests), making it easy to understand and adopt for teams of any size.

Try Tower Workflows Today

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