1. clone repository
git clone [your repository https or ssh]
git clone git@github.com:seowlee/exchange-test.git
2. git log 확인
git log
원하는 커밋 복사
github에서 확인 할 경우-> 원하는 커밋 복사
3. 원하는 커밋 버전으로 받기
git reset --hard [commit id]
참고 :
https://ddbobd.tistory.com/entry/git-%ED%8A%B9%EC%A0%95%EB%B2%84%EC%A0%84-clone%ED%95%98%EA%B8%B0
'git' 카테고리의 다른 글
[Git] Git 저장소에서 특정 하위 폴더만 클론하는 방법 (여러 폴더 선택 포함) (0) | 2025.04.10 |
---|---|
[Git] Git에서 일부 폴더만 작업 후 push 했을 때 생기는 문제와 안전한 대처법 (0) | 2025.04.10 |
[Git] git clone change directory name (1) | 2024.01.03 |
[Git] 강제 pull 하기 (0) | 2023.11.02 |
[Git] git clone 특정 브랜치 (0) | 2023.11.01 |
댓글