기타/Git
Github 작업 중 브랜치 PR로 올려둘 때, Merge 안되도록 처리하기
Dev.BeryL
2022. 1. 24. 22:58
728x90
1. PR 생성하는 경우
- PR 생성 시 아래 이미지와 같이 화살표 클릭 후 [Create Draft Pull Request] 클릭
2. 이미 생성된 PR의 경우
- 아래 이미지와 같이 우측 reviewers 메뉴 아래에 [Convert to draft] 클릭
결과
- Draft 상태로 변경되면서 Merge할 수 없는 상태가 됨
참고 : https://github.blog/2019-02-14-introducing-draft-pull-requests/
Introducing draft pull requests | The GitHub Blog
You can now use draft pull requests to clearly tag when you’re coding a work in progress.
github.blog
반응형