![[Git 협업] Pull Requeset 요청](https://image.inblog.dev?url=https%3A%2F%2Finblog.ai%2Fapi%2Fog%3Ftitle%3D%255BGit%2520%25ED%2598%2591%25EC%2597%2585%255D%2520Pull%2520Requeset%2520%25EC%259A%2594%25EC%25B2%25AD%26logoUrl%3Dhttps%253A%252F%252Finblog.ai%252Finblog_logo.png%26blogTitle%3DCoding_study&w=2048&q=75)
1. 팀장이 만든 주소 복사 git clone으로 내려받기
프로젝트 생성시 깃 주소로 clon 방법

해당 깃에 1. master 브랜치에 푸쉬 노!!(권한) 브랜치 파서 올리기 2. 동의 구한 후 푸쉬 가능한 방법 3. 최초 다운로드 방법 clone 내 마스터 브랜치에 머지 시킴 origin/master -> master 가지로 머지 시켜야한다. git pull origin master 패치, 머지가 합쳐져 있는 것 한꺼번에 된다.
git init git remote add origin 주소 git fech master git merge origin master
4가지 합친 게 git clone
git remote add origin 주소
git fech master

$ git clone https://github.com/chugue/kdit-p1.git
팀장 폴더 clone해서 들어가기

팀원들이 각각 branch를 작성하여 PR 요청하기
1번 팀원 (topic-1 브랜치) : 회원가입 2번 팀원 (topic-2 브랜치) : 로그인 3번 팀원 (topic-3 브랜치) : 게시글목록 - 보기 4번 팀원 (topic-4 브랜치) : 게시글목록 - 페이징 3번과 4번은 충돌날 수 있으니 조심!
master에 아무것도 하지 말고 내 브랜치 (topic-3) 만 생성 후
제발!! master에는 아무 것도 손 대면 안된다!! 브랜치만 만들어라!!
master 브랜치가 아닌 걸 확인하고 작업하기!!!
Share article