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

貢獻者指南