Answer the question
In order to leave comments, you need to log in
Made rebase origin/develop in master, how to get it back?
Good day to all!
The work uses git flow.
Today I, in a project in which I have never worked before, being in a local repo in master, did git fetch --all -p and then in the same place - git rebase origin/develop (I just forgot to switch to develop beforehand)
Question: how return everything as it was?? I don’t have much practice with the git, I mostly execute memorized commands, so I’m afraid to spoil it even more.
UPD. I did a git reflog, but how do I figure out which revision number I need to reset?
Answer the question
In order to leave comments, you need to log in
If you suddenly want to deal with these branches in more detail, then [1] and [2] and about rollbacks
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question