There is a specific case Git can't deal: changing case only. You can commit, but another machine that already has this project with old filename won't recognize the name changes to be made to these files.
Let's say there is a file named Page.js
:
Page.js
being renamed topage.js
can't be tracked by Git, at least for Windows and MacOS. Linux seems to be working fine.
- When there is more changes to file name than changed case only. Example:
Page.js
being renamed to_Page.js
or_page.js
. - Changing file extension. Example:
Page.js
toPage.ts
orpage.ts
.
Automatically run 'git mv' command, when renaming files/folders in VS Code, just for occasions where only file/folder name case was changed.
https://git-scm.com/docs/git-mv
Git must have been installed and the renamed file need to be watched by it.
Rename file/folder normally as you would. This extension will be watching for file/folder name changes and will run by its own.
- Bug fixes
- Detailed logs on extension's output channel
Initial release of git-watch-vscode-rename