Microsoft/vscode

Git - Use `git mv` when moving and renaming files

Open

#273.757 geöffnet am 28. Okt. 2025

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)TypeScript (10.221 Forks)batch import
feature-requestgithelp wanted

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

Currently moving and renaming files through the vscode explorer results in git detecting it as a file removal and file addition, even though git has the git mv command which keeps the history of the file.

So it would be nice if renaming and moving a file through the vscode explorer uses git mv when used in a workspace with a git repository.

Contributor Guide