1. repository를 로컬 컴퓨터에 복제, 해당 디렉토리로 이동
git clone <repository-url>
cd <repository-name>
2. 커밋 히스토리 확인
git log --oneline
3. 특정 커밋으로 돌아가기- 여기서 <commit-hash>는 돌아가고 싶은 커밋의 해시
git reset <commit-hash>
4. 강제 푸시
git push origin <branch-name> --force
-끝-