2
I made a Git Pull and overwritten everything in the code.
In my company we used SVN and there I would update a commit and the system would always merge everything, but the company migrated everything to git and this is the second time that happens to me.
I performed a git pull before committing my changes, but what happened was that it didn’t merge the changes, git took everything the other dev.
Is there any way to revert to the previous state?
Did you get the pull in the middle and make mistakes or get clean and erase what you had?
– Sergio
Deleted my local changes and replaced them to the server ones, and since I didn’t commit before it doesn’t come back.
– Rafael Senne