Created
April 3, 2015 20:15
-
-
Save abonhomme/baf5c909bd1f147f488a to your computer and use it in GitHub Desktop.
recovering force-deleted & remote-deleted branches #justGitThings
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 --full --no-reflogs --unreachable --lost-found | grep commit | cut -d\ -f3 | xargs -n 1 git log -n 1 --pretty=oneline > .git/lost-found.txt` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment