Microsoft/vscode
Ver no GitHubGit - Use `git mv` when moving and renaming files
Open
#273.757 aberto em 28 de out. de 2025
feature-requestgithelp 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
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.