3
In my project contain 2 branch a work and a master, today after a long time I went up the version of the project, but at the time of running the merge
I ended up doing it in the wrong branch, only realized after I had performed the push
when I opened the project was with the old files, there is how to undo this my error?
Below is the command sequence I used:
Please help me, I’m really desperate for this mistake of mine :/
calm, download a previous version to your merge and commit it again.
– RBoschini
@Rboschini you could help me with the sequence of commands, because I’m not very familiar with using git. (remembering that the version that is on my server is well outdated)
– Vinicius VAz
Have you tested
git merge --abort
?– Sergio