Created
October 11, 2023 08:41
-
-
Save elshanx/7ec5961feccca17dce81f388227a1706 to your computer and use it in GitHub Desktop.
recover 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
git fsck --unreachable | grep commit | cut -d" " -f3 | xargs git log --merges --no-walk --grep=WIP | |
// WIP is for unnamed stashes, if you named your stash then you can find it with grep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment