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.

貢獻者指南