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
git resetthe change and then dogit mv, if you really care about how things goes in git, but that's not much of different.mvcreated this state, including agit statusat the end?