Microsoft/vscode

Can't unstage changes of edited file in new git repository

Open

#264,338 创建于 2025年9月1日

在 GitHub 查看
 (0 评论) (1 反应) (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

Version: 1.104.0-insider (user setup) Commit: 86f1b8fd472ae9cb26d24121a2476e40b98a0785 Date: 2025-09-01T07:47:15.390Z Electron: 37.3.1 ElectronBuildId: 12259562 Chromium: 138.0.7204.235 Node.js: 22.18.0 V8: 13.8.258.31-electron.0 OS: Windows_NT x64 10.0.19045

Steps to Reproduce:

  1. Open new folder and initialize git repository (git init)
  2. create new file and stage changes
  3. edit file further and save
  4. unstage stage changes

https://github.com/user-attachments/assets/bd7cabd2-3043-4b2e-b0d9-d3cf284c098f

贡献者指南