Microsoft/vscode

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

オープン

#273,757 opened on 2025/10/28

 (1 件のコメント) (0 件のリアクション) (1 人の担当者)TypeScript (39,847 件のフォーク)batch import
feature-requestgithelp wanted

Repository metrics

Stars
 (184,936 個のスター)
PR merge metrics
 (平均マージ 11h 43m) (30d で 1,000 merged PRs)

説明

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.

コントリビューターガイド