Created
December 29, 2020 01:33
-
-
Save jngbng/f6c28ebec52d58f0734d1d56f83200c9 to your computer and use it in GitHub Desktop.
Git 삭제된 branch head 찾기
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 | cut -d ' ' -f 3 | xargs -n 1 git log -n 1 --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment