Git and merge
Git included. Merges that understand Salesforce.
Every project is a Git repository, hosted by Promote Force or on your GitHub. Branches, merges and the deploy queue are designed around how Salesforce metadata actually changes.
Promote Force Git, or your GitHub
By default each project gets a repository on Promote Force Git. You clone and push over HTTPS with the normal git command, using a personal token that is read-only or read/write. Teams that keep code on GitHub install the Promote Force GitHub App and link their repository instead.
- main and stage branches are protected; on GitHub with a ruleset.
- Outbound mirror: copy a Promote Force Git repository to GitHub, GitLab, Azure DevOps, Bitbucket or any HTTPS remote on every commit.
- Start a project from your production org, import an existing repository, or link a GitHub repository. Application projects can also stay on Azure DevOps or GitLab.
A Salesforce-aware merge
pf-sfmerge merges metadata files entry by entry on their natural key, so two people adding different permissions to one Profile don't conflict. It covers Profiles, Permission Sets, Permission Set Groups, objects and fields, Custom Labels, Global Value Sets, Sharing Rules, Workflow, Assignment Rules and OmniStudio files. Flows, Layouts and FlexCards are never merged entry by entry: a wrong automatic merge is worse than a conflict.
Browse the code in the portal
The Code tab on a project shows its files read-only, on any host Promote Force works with. Pick a stage branch, the default branch or a feature branch, walk the folders in a file explorer and open a file, with a link to it on your Git host.
Collisions before they become conflicts
Promote Force knows which components each feature changes. When a teammate's feature changes the same component, or one changes a field and the other its object, your git push says so, and so does the feature page. On GitHub it is a "Promote Force" check on your commit.
Conflicts resolved in the browser
When a stage branch doesn't merge cleanly, the conflict editor shows each conflict side by side, the component it belongs to and what each side changed, and checks that every -meta.xml file is well-formed before you commit.
A merge queue that finds the culprit
Approved promotions join each shared stage's merge queue. Promote Force merges a batch onto the stage branch, validates it once and quick-deploys it. If a batch fails, it is split to find the change that broke it, which goes back to its author while the rest carry on. Risky changes can deploy alone.
Features that stay fresh
main only ever holds production, so after every production deploy each open feature is offered Update from main, merged with the Salesforce-aware merge. Features built on a teammate's unfinished work are detected on push and can be promoted together as one bundle.
Stop stitching your release process together.
Connect your first org or repository in a few minutes. No CI pipeline or scripts to maintain for Salesforce.

