I am very new with git and not able to find the exact solution from google or stackoverflow. I tried Undo git pull, how to bring repos to old state well, but no success.
I have basically "initial"
and "pre_dev"
branch. Generally I merge my initial branch code into pre_dev branch.
But today I pulled pre_dev
into initial
by mistake. Now source tree is showing push notification into initial. So please let me know how to revert this. So that I don't need to push these changes.
I can see in source tree after so many tries:
I don't want this to push into initial. So please help me in this. And sorry for asking this question again, if already resolved by someone into any other stackoverflow question. Please help me as a beginner. Thanks