Azure DevOps Repos Limit or Block PR by Number of Commits
I am working in Azure DevOps and have junior developers creating PRs with massive code changes and over 100 commits. I have looked at the default policies in Azure DevOps Repos, but did not see anything that limits the number of commits in a PR.
How to deny force push to main only, but still allow direct (non-force) push in Azure DevOps git repos
Question Is there a way to deny the force push permission by default, only on the main branch, for any existing and new repos within a project, while still allowing it for all other branches? Background My team uses Azure DevOps to host our various git repos. Our typical workflow is to create feature branches […]