Microsoft/vscode

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

Open

#264 338 ouverte le 1 sept. 2025

Voir sur GitHub
 (0 commentaires) (1 réaction) (1 assigné)TypeScript (10 221 forks)batch import
buggithelp wanted

Métriques du dépôt

Stars
 (74 848 stars)
Métriques de merge PR
 (Merge moyen 11h 43m) (1 000 PRs mergées en 30 j)

Description

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

Guide contributeur