The thing comes like this:
I got a local branch which is far ahead of remote branch.
And when I merge them, there is a tone of conflicts to be fix.
So I came to stackoverflow to ask how to set the remote branch data the same as my local branch.
Someone gave me this command: git rebase origin/master --strategy=ours
I did this under my local branch, and now my local branch is revert back to the same old commit of the orgin/master! I used git log
, and the last commit was the same as the remote branch, all those new commits are disappeared, that's five days' work.
Is there any possible way to recover my local branch data?