Created
August 29, 2013 10:01
-
-
Save henrahmagix/6376295 to your computer and use it in GitHub Desktop.
Find your dropped stashes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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