CmdID / az / az repos / az repos policy
az repos policy merge-strategy
Manage merge strategy policy. Azure CLI extensions reference
2 commands 5 options Its page in the Azure CLI extensions reference
Commands
Options
--allow-no-fast-forwardBasic merge (no fast-forward) - Preserves nonlinear history exactly as it happened during development.--allow-rebase-mergeRebase with merge commit - Creates a semi-linear history by replaying the source branch commits onto the target and then creating a merge commit.--allow-rebaseRebase and fast-forward - Creates a linear history by replaying the source branch commits onto the target without a merge commit.--allow-squashSquash merge - Creates a linear history by condensing the source branch commits into a single new commit on the target branch.--use-squash-mergeWhether to squash merge always.