Explanation Instead use fast-forward merge. Note: No fast-forward merge - This option merges the commit history of the source branch when the pull request closes and creates a merge commit in the target branch. Reference: https://docs.microsoft.com/en-us/azure/devops/repos/git/branch-policies