Skip to content

PR 방법

Albert edited this page Sep 23, 2024 · 5 revisions
  1. fork 후 개인 REPO 다운로드
git clone https://github.com/AlbertImKr/weaverse-backend.git
  1. Local에서 git remote 추가
git remote add upstream https://github.com/weaverse-techtide/weaverse-backend.git
  1. remote 확인
  • origin은 개인 REPO
  • upstream은 조직 REPO
origin  https://github.com/AlbertImKr/weaverse-backend.git (fetch)
origin  https://github.com/AlbertImKr/weaverse-backend.git (push)
upstream        https://github.com/weaverse-techtide/weaverse-backend.git (fetch)
upstream        https://github.com/weaverse-techtide/weaverse-backend.git (push)
  1. 조직 dev 가져온다
git pull upstream dev
  1. local main을 rebase한다.
git rebase main
  1. 그리고 개인 repo에 push하고 조직 dev에 PR 날린다.