TIL-211029

박건희·2021년 10월 29일
0

1. Git fetch VS pull

  • fetch : remote저장소의 변경사항을 local로 가져오기 전에 변경 내용 확인
    remote의 branch 내용을 local에 merge 하기 전에 수행
    확인후 git fetch 원격저장소/브랜치
  • pull : remote의 변경사항을 local로 가져와 합침

2. Lombok 사용시 주의점

3. 프로젝트 fork후 작업

  • git add upstream fork 대상 url
  • git add origin 내 github url
  • git pull(fetch) upstream : remote의 상태와 동일하게
    • fetch한 경우엔 remote의 branch와 merge도 해야함
    • 이후 git push origin branch

0개의 댓글