Code Repository Settings
Configure repository settings.
To update repository settings, run the
update-repository-settingscommand:oci devops repository update-repository-settings --repository-id --merge-checks --approval-rules --merge-settingsTo delete repository settings, run the
delete-repository-settingscommand:oci devops repository delete-repository-settings --repository-idTo get repository settings, run the
get-repository-settingscommand:oci devops repository get-repository-settings --repository-idTo get repository notification preference, run the
get-repository-notification-preferencecommandoci devops repository get-repository-notification-preference --principal-id --repository-idTo update repository notification preference, run the
update-repository-notification-preferencecommand:oci devops repository update-repository-notification-preference --notification-preference --principal-id --repository-idTo create or update a protected branch, run the
create-or-updatecommand:oci devops protected-branch create-or-update --branch-name --protection-levels --repository-idTo delete a protected branch, run the
deletecommand:oci devops protected-branch delete --branch-name --repository-idTo list protected branches, run the
list-protected-branchescommand:oci devops protected-branch list-protected-branches --repository-id --limit --name --page --page-size --sort-by --sort-orderTo retrieve a repository setting details, use the
GetRepositorySettingsoperation.To update a repository setting details, use the
UpdateRepositorySettingsoperation.To delete a repository settings, use the
DeleteRepositorySettingsoperation.