Skip to content

Instantly share code, notes, and snippets.

@henrahmagix
Created August 29, 2013 10:01
Show Gist options
  • Save henrahmagix/6376295 to your computer and use it in GitHub Desktop.
Save henrahmagix/6376295 to your computer and use it in GitHub Desktop.
Find your dropped stashes.
# Altered from example at the bottom of the git-stash man page.
# Run `git gc` to remove them completely.
git fsck --unreachable | grep commit | cut -d' ' -f3 | xargs git log --merges --no-walk --grep=WIP --grep=On
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment