jrdioko jrdioko - 4 months ago 64
Git Question

Undo git mv (rename)

What is the right way to undo a rename in git, like:

git mv file1 file2

Answer

Non-cheeky answer:

git mv file2 file1