If you have already committed the migration to your source control
system then just rollback to the previous version. If you have not
committed it but are using git then git stash will save it temporarily
in the stash so you can recover it later. If you are not using a
source control system then start now. It is almost trivial to setup
git and after you start using it you will wonder how you survived
before.
Colin