Microsoft/vscode

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

Open

#264.338 aberto em 1 de set. de 2025

Ver no GitHub
 (0 comments) (1 reaction) (1 assignee)TypeScript (10.221 forks)batch import
buggithelp wanted

Métricas do repositório

Stars
 (74.848 stars)
Métricas de merge de PR
 (Mesclagem média 11h 43m) (1.000 fundiu PRs em 30d)

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

Guia do colaborador