jrdioko jrdioko - 1 year ago 161
Git Question

Undo git mv (rename)

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

git mv file1 file2

Answer Source

Non-cheeky answer:

git mv file2 file1
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download