If I use git mv
then it records correctly the rename :
renamed: oldname -> newname
But if I am just moving some files around and then git add
they become unlinked:
deleted: oldname
new file: newname
Is there was a simple way to update the staged index, to change the deleted/new-file to a rename?
git version 2.25.0