Microsoft/vscode

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

Open

#187,354 创建于 2023年7月8日

在 GitHub 查看
 (1 评论) (2 反应) (1 负责人)TypeScript (10,221 fork)batch import
buggithelp wanted

仓库指标

Star
 (74,848 star)
PR 合并指标
 (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)

描述

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.

贡献者指南