본문 바로가기
git

[Git] git 특정 커밋 다운

by clolee 2024. 5. 8.

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

 

댓글