[Feature Request] az repos policy merge-strategy create --use-basic-merge --use-rebase-and-fast-forward --use-rebase-with-merge-commit
See original GitHub issueIs your feature request related to a problem? Please describe.
The web UI of Azure DevOps allows to permit 4 merge strategies in repository branch policies:
- basic merge
- squash merge
- rebase and fast-forward
- rebase with merge commit
The azure-devops-cli-extension only supports configuring squash merges through az repos policy merge-strategy create --use-squash-merge
.
Describe the solution you’d like
az repos policy merge-strategy create
understands the additional arguments --use-basic-merge
, --use-rebase-and-fast-forward
and --use-rebase-with-merge-commit
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
az repos policy merge-strategy - Microsoft Learn
Manage merge strategy policy. In this article. Commands; az repos policy merge-strategy create; az repos policy merge-strategy update ...
Read more >Unable to query branch policies using az devops CLI from ...
It only returns the "require a merge strategy" policy. The pipeline is unable to read the policies for all repositories -- INCLUDING THE...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
How the API used to work. (This is how the command works today):
Suggested changes to command to work with newer merge types-
–use-squash-merge becomes a deprecated option to be removed in the future and keeps working as it does stated above.
Add 4 new merge policy options -
New command keeps working for older scripts as it used to. For newer use the command will list the option --use-squash-merge as deprecated. It will allow the users to use the newer merge options in any combination as required in both create and update command.
Appears to work. Thanks!