| ms.date | 10/19/2022 |
|---|---|
| ms.topic | include |
| msservice | azure-devops-repos |
| ms.subservice | azure-devops-repos-git |
The option to add or edit a gitignore or gitattributes file is only available at the repository scope.
-
From the Git menu, choose Git > Settings and choose the Git Repository Settings > General view. That view contains options to edit
gitignoreorgitattributesfiles. -
Choose Edit to open the ignore or attribute file in a Visual Studio editor window.
:::image type="content" source="../media/git-config/visual-studio-2019/git-experience/git-files-setting.png" alt-text="Screenshot showing the Edit button for the ignore or attribute files in Visual Studio." lightbox="../media/git-config/visual-studio-2019/git-experience/git-files-setting-lrg.png":::