Skip to content

Git - "Add to .gitignore" feature shows up for .gitignore file in Source Control tab #187354

@recanman

Description

@recanman

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.80.0
  • OS Version: Linux x64

Steps to Reproduce:

  1. Open a project with a git repository.
  2. Make a change to the .gitignore file.
  3. Go to the Source Control tab (place to stage changes, commit, and push)
  4. Right click on .gitignore.
  5. Add to .gitignore is there. If clicked, then it will add .gitignore to the .gitignore file. This can be done an infinite amount of times.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buggitGIT issueshelp wantedIssues identified as good community contribution opportunities

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions