Code Repository Settings
Configure repository settings.
To update repository settings, run the
update-repository-settings
command:oci devops repository update-repository-settings --repository-id --merge-checks --approval-rules --merge-settings
To delete repository settings, run the
delete-repository-settings
command:oci devops repository delete-repository-settings --repository-id
To get repository settings, run the
get-repository-settings
command:oci devops repository get-repository-settings --repository-id
To get repository notification preference, run the
get-repository-notification-preference
commandoci devops repository get-repository-notification-preference --principal-id --repository-id
To update repository notification preference, run the
update-repository-notification-preference
command:oci devops repository update-repository-notification-preference --notification-preference --principal-id --repository-id
To create or update a protected branch, run the
create-or-update
command:oci devops protected-branch create-or-update --branch-name --protection-levels --repository-id
To delete a protected branch, run the
delete
command:oci devops protected-branch delete --branch-name --repository-id
To list protected branches, run the
list-protected-branches
command:oci devops protected-branch list-protected-branches --repository-id --limit --name --page --page-size --sort-by --sort-order
To retrieve a repository setting details, use the
GetRepositorySettings
operation.To update a repository setting details, use the
UpdateRepositorySettings
operation.To delete a repository settings, use the
DeleteRepositorySettings
operation.