커밋 로그 확인
git reflog
혹은
git log -g
커밋 시점으로 되돌리기
git reset --hard [commit_id]
'개발 관련 > git' 카테고리의 다른 글
warning in the working copy of 'file', LF will be replaced by CRLF the next time Git touches it (1) | 2023.11.12 |
---|---|
git 특정 파일 가져 오기 (0) | 2023.11.12 |
git ssh key 암호화 인증 방법 (0) | 2023.11.12 |
git pull 시 강제 덮어쓰기 (0) | 2023.11.12 |
git commit error pathspec 'first Commit' did not match any file(s) known to git (0) | 2023.11.12 |