[TIL] pull req delete vs decline

𝙃𝙖𝙞𝙡𝙚𝙮·2021년 11월 3일
0

TIL

목록 보기
4/15
post-thumbnail

원격저장소를 pork하여 가져와서 수정을 하고 이를 반영하기 위해, 원격저장소에 pull request 요청을 보내게 된다.

만약 reviewer가 리뷰해준 내용이 있다면, 다시 commit, push 과정을 거치면 기존 요청했던 pr에 적용된다. 따라서 별도로 delete 또는 decline 하지 않아도 된다.

또한 아래는 delete와 decline의 차이이다.

Decline:
While doing a code review of a PR you notice that the change will introduce a major bug. You decline with a comment and maybe a task to fix the code.

Delete:
You push some branch and you create a pull request asking to merge your branch into master but then you realize that you needed to merge with the development branch. While you can edit the PR and change the branch you might also want to just delete the PR and create it new pointing to the correct branch.

profile
ෆ 𝓋𝒾𝓈 𝓉𝒶 𝓋𝒾𝑒 ෆ

0개의 댓글