We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Merge strategy policy example is broken.
POST https://dev.azure.com/fabrikam/fabrikam-fiber-git/_apis/policy/configurations?api-version=7.0 { "isEnabled": true, "isBlocking": true, "type": { "id": "fa4e907d-c16b-4a4c-9dfa-4916e5d171ab" }, "settings": { "useSquashMerge": true, "scope": [ { "repositoryId": "1d1dad71-f27c-4370-810d-838ec41efd41", "refName": "refs/heads/master", "matchKind": "exact" } ] } }
useSquashMerge setting doesn't work in Azure DevOps Services (see SO issue), allowSquash should be used instead.
useSquashMerge
allowSquash
Also, I had to do a Google search in order to find the right settings for the Merge strategy policy:
allowNoFastForward
allowRebase
allowRebaseMerge
These settings should be properly documented in the page. It would be great if the sample request listed above could include these settings as well.
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered:
Thank you for your message, you helped me a lot.. didn't get why it wasn't working before. The keys were just not the right ones to use.
Sorry, something went wrong.
No branches or pull requests
The Merge strategy policy example is broken.
useSquashMerge
setting doesn't work in Azure DevOps Services (see SO issue),allowSquash
should be used instead.Also, I had to do a Google search in order to find the right settings for the Merge strategy policy:
useSquashMerge
allowNoFastForward
allowSquash
allowRebase
allowRebaseMerge
These settings should be properly documented in the page. It would be great if the sample request listed above could include these settings as well.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: