| ms.date | 10/19/2022 |
|---|---|
| ms.topic | include |
| msservice | azure-devops-repos |
| ms.subservice | azure-devops-repos-git |
The Commit changes after merge by default setting is only available at the global scope.
-
From the Git menu, choose Git > Settings and then select the Git Global Settings view. That view contains the Commit changes after merge by default setting.
-
Choose whether to commit changes after merge by default, and select OK to save.
:::image type="content" source="../media/git-config/visual-studio-2019/git-experience/merge-commit-setting.png" alt-text="Screenshot showing the checkbox to commit changes after merge by default in the Options dialog box in Visual Studio." lightbox="../media/git-config/visual-studio-2019/git-experience/merge-commit-setting-lrg.png":::