As Mark Amery said, the reflog is most likely disabled on the server. But, there's still hope if you have a copy of the repository you pushed from. When you did a push, Git updated a remote-tracking branch (like refs/remotes/origin/master
), and probably updated the reflog of this remote-tracking branch.
In the output of git reflog show origin/master
, you should find an entry saying update by push
corresponding to your push. The entry before corresponds to where you were before the push.
You can also look directly at the log files (e.g. .git/logs/refs/remotes/origin/master
) and find entries looking like
acb60f2759717796f807197f6997708528260255 59dbeca4120db70db34144ee14d05cc526b1f5ab Your Self <Your.Self@example.com> 1427137007 +0100 update by push
The first sha1 is where you were before, the second where you were after.
But there's no magic: this will give you only the history of the remote-tracking seen by this repository, not a detailed history of who pushed when.