I pull code from the master branch and merge that code in my branch. But now I want to revert that merge. How can I do that? How can I get my branch code back and undo all changes that happened after merging the master branch?
Asked
Active
Viewed 160 times
1
-
1so many answers to the question already, here you go https://stackoverflow.com/a/2389423/1457270 – nakov Apr 22 '19 at 11:41
-
Have you committed your code before you pulled the master branch? – Dev Apr 22 '19 at 11:42