Workflows
Automate common Git workflows with presets and custom workflow definitions.
Workflows
Branqo includes workflow presets for common Git branching strategies and supports custom workflow automation.
Built-in Presets
GitFlow
The classic GitFlow workflow with main, develop, feature/*, release/*, and hotfix/* branches:
- Go to Settings → Workflows
- Select GitFlow preset
- Branqo enforces the branching rules automatically:
- Features branch from
develop - Releases branch from
develop, merge to bothmainanddevelop - Hotfixes branch from
main, merge to bothmainanddevelop
- Features branch from
GitHub Flow
A simplified workflow with main and short-lived feature branches:
- Select GitHub Flow preset
- All feature branches are created from
main - Features are merged back to
mainvia pull request
Trunk-Based Development
Direct commits to main with optional short-lived feature flags:
- Select Trunk-Based preset
- Encourages small, frequent commits directly to
main - Feature branches are limited to 1-2 days
Custom Workflows (Premium)
Create your own automated multi-step workflows:
- Go to Settings → Workflows → Custom
- Click Create Workflow
- Define the steps using a YAML-like editor:
name: "Feature Complete"
trigger: manual
steps:
- fetch: { remote: origin }
- checkout: { branch: develop }
- pull: { remote: origin, branch: develop }
- merge: { branch: "{{current_branch}}" }
- push: { remote: origin, branch: develop }
- branch-delete: { branch: "{{current_branch}}" }Workflow Variables
{{current_branch}}— The branch that was active when the workflow started{{repo_name}}— The repository name{{remote_url}}— The primary remote URL
Running Workflows
- Click the Workflow button in the toolbar
- Select a workflow from the list
- Click Run
- Branqo executes each step in sequence, stopping if any step fails
CLI
# Run a workflow
branqo workflow run "Feature Complete"
# List available workflows
branqo workflow --list
# Run with JSON output
branqo --json workflow run "Feature Complete"