[git] 코드 다시 불러오기

HardCarry·2023년 3월 17일
0
post-thumbnail
  1. 기존 변경 사항을 무시
git reset --hard HEAD
git pull

reset --hard HEAD 가장 최근 커밋으로 소스를 돌림.
그리고 , PULL

  1. 가장최신 소스를 받은 후 커밋
git fetch --all
git reset --hard HEAD

출처 : https://awesometic.tistory.com/36

profile
안녕하세요, 하드캐리입니다

0개의 댓글

Powered by GraphCDN, the GraphQL CDN