git
Fork 없이 sourcetree로 git pull request 하기(git hub로 코드 리뷰)
끄적a
2022. 1. 18. 16:59
pull requeset는 보통 권한이 없는 Repository에(주로 open source) 자신의 수정 사항을 반영하기 위해서 사용한다.
그러기에 해당 Repository를 fork를 한다음 내 Repository에서 수정 > push > 해당 Repository에 Pull Request(내 repo에 반영한걸 가져가주세요)한다.
그런데 이번 프로젝트에서 code review 목적으로 git pull request를 사용하기로 하였다. 즉 권한이 있기에 fork하지 않고 pull request를 하는것!
간단하게
'새 branch'를 생성 > 코드 수정 > commit >'새 branch'에 push >'새 branch'에서 반영하고자 하는 branch로 pull request요청 하면된다.
자세한 방법은 아래 링크 참조
https://lookingfor.tistory.com/entry/Git-Pull-Request
깃에 풀 리퀘스트(Pull Request) 하는 방법 - 소스 트리(Source Tree) 사용
Git Pull Request 깃으로 작업할 경우 새로운 수정 건을 반영할 때 보통 PR을 딴다고 표현한다. 이 의미는 pull request를 생성하여 반영을 요청하기 위함이다. 즉, 나의 수정된 소스를 깃허브에서 당겨
lookingfor.tistory.com
https://devlog-wjdrbs96.tistory.com/231