Skip to content

Instantly share code, notes, and snippets.

@martintrojer
Created March 17, 2015 07:35
Show Gist options
  • Save martintrojer/7e7721239b1cf42fdf65 to your computer and use it in GitHub Desktop.
Save martintrojer/7e7721239b1cf42fdf65 to your computer and use it in GitHub Desktop.
git reflog
for ref in `git fsck --unreachable | grep commit | cut -d' ' -f3`; do git show --summary $ref; done | less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment