잘못 실행한 git reset 취소하기

1 minute read
2024-08-27

해결법

git reflog


위 명령어로 나온 이력 중에서 찾아서 hash 을 복사해서


git reset <commit_hash>