Home/Engineer/Troubleshooting/Recover Commits After git re…
TroubleshootingIntermediateubuntumacoswindowsgitreflogreset

Recover Commits After git reset --hard — reflog and ORIG_HEAD Runbook

What to do right after git reset --hard: find the lost commit with reflog or ORIG_HEAD, branch it back, and know what cannot be recovered.

Contents
  1. 30초 체크리스트
  2. 무엇이 복구되고 무엇이 안 되는가
  3. 1단계: reflog에서 reset 직전 위치 찾기
  4. 2단계: 새 브랜치로 붙잡아 두기
  5. 3단계: 원래 브랜치를 되돌릴지 결정
  6. 가장 빠른 길: ORIG_HEAD
  7. reflog에도 없을 때: fsck
  8. reflog 기록은 영원하지 않습니다
  9. 재발 방지
  10. 빠른 판정표

This article is not yet available in English. Showing the original Korean version.

#git#reflog#reset#troubleshooting
Editorial note

AI tools may assist drafting. Check the evidence in each guide for whether commands were run and which environment was used. Confirm the current docs for your version before applying instructions, and email us about errors. email us

Topic-related official docs (auto-linked · not per-claim sources)Git documentation ↗

Questions & answers

Ask a question about this guide. We'll review and reply.