I have about 10 directories, each with contents that match this pattern:
x.js
x.d.ts
x.ts
and I want to rename these files to:
index.js
index.d.ts
index.ts
is there a mv or git mv command that I can use to rename the files?
something like:
git mv --match x.* index.*
I am not really sure.
As git does not perform any special rename registration, you can use system utility like rename, then stage the changes. For example with commands: