| ms.date | 10/19/2022 |
|---|---|
| ms.topic | include |
| msservice | azure-devops-repos |
| ms.subservice | azure-devops-repos-git |
| ms.custom | sfi-image-nochange |
-
To configure Git settings in Visual Studio, choose Git > Settings from the menu bar to open the Options view.
:::image type="content" source="../media/git-config/visual-studio-2019/git-experience/git-menu-settings.png" border="true" alt-text="Screenshot of the Settings option in the menu bar of Visual Studio." lightbox="../media/git-config/visual-studio-2019/git-experience/git-menu-settings-lrg.png":::
-
In the Options view, choose Git Global Settings to view settings that apply to all your repos.
:::image type="content" source="../media/git-config/visual-studio-2019/git-experience/git-global-settings.png" border="true" alt-text="Screenshot of Git Global Settings in the Options dialog of Visual Studio." lightbox="../media/git-config/visual-studio-2019/git-experience/git-global-settings-lrg.png":::
Or, in the Options view, choose Git Repository Settings > General to view settings that only apply to the current Visual Studio project repo.
:::image type="content" source="../media/git-config/visual-studio-2019/git-experience/git-repo-settings.png" border="true" alt-text="Screenshot of Git Repository Settings in the Options dialog of Visual Studio." lightbox="../media/git-config/visual-studio-2019/git-experience/git-repo-settings-lrg.png":::