How to change a deleted/untracked file to a git mv?

173 views Asked by At

I reset the top of my local git branch. In that check-in I moved a file using git mv, now it shows that the file has been removed and the file is located in the untracked file list.

If I readd the file and check it in, will it think that it's a move or just a delete and a newly added file? If so, how would I easily move it? Do I have to move the file back to its original location and then do a git mv again?

0

There are 0 answers