That's only if you have ssh access to the server. I don't think there's a way of seeing the reflog of a remote? I.e. if you're using github and the branch only lives there, can you undo an overwrite?
If you have the output from your `git push -f` you can, because it outputs both the old and new ref for each modified branch.
Oh, interesting, I think you're right. That's a bit unfortunate actually!
I guess I am missing something. There is no 'server'. You should have the same reflog locally, if you pulled before someone messed the repository up?
The 'server' in this case is a remote repository which has some commits you don't have. If you force push to this repository, these commits will be lost for you - only the person who pushed these or someone with access to the server can restore them.
Today I suddenly realized reflog is "ref log" not "re flog". My world just got a bit less magical.
Has someone told you about "we blog" yet?
Isn't it "web log"?
At the expense of dissecting the frog: yes, that was the joke. (And whoever downvoted you is a jerk.)