Created
April 10, 2017 14:47
-
-
Save ricardobeat/1ace67963fd9a217450a0b43bc79b004 to your computer and use it in GitHub Desktop.
Git: digging for lost code - unlabeled stashes etc
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 --no-reflogs | awk '/dangling commit/ {print $3}'| while read hash; do | |
echo "$hash" | |
git show $hash | grep -H -C4 svg | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment