author | ms.author | ms.date | ms.topic | msservice | ms.subservice |
---|---|---|---|---|---|
vijayma |
vijayma |
10/19/2022 |
include |
azure-devops-repos |
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
gitignore
orgitattributes
files. -
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":::