Skip to main content

이 버전의 GitHub Enterprise Server는 다음 날짜에 중단됩니다. 2026-08-25. 지원되지 않는 릴리스는 지원되지 않습니다. 중요한 보안 문제에 대해서도 패치 릴리스가 이루어지지 않습니다. GitHub Enterprise Server의 향상된 성능, 향상된 보안 및 새로운 기능은 업그레이드 프로세스의 오버뷰 참조하세요. 업그레이드에 대한 도움이 필요하면 GitHub Enterprise 지원에 문의하세요.

Changing the base branch of a pull request

Modify the base branch of an open pull request to compare changes against a different branch and ensure accurate updates.

경고

When you change the base branch of your pull request, some commits may be removed from the timeline. Review comments may also become outdated because the line of code that the comment referenced may no longer be part of the changes in the pull request.

  1. 리포지토리 이름에서 Pull requests를 클릭합니다.

    리포지토리의 기본 페이지  스크린샷 가로 탐색 모음에서 "끌어오기 요청"이라는 레이블이 있는 탭이 진한 주황색 윤곽선으로 표시되어 있습니다.

  2. In the "Pull Requests" list, click the pull request you want to modify.

  3. Next to the pull request title, click Edit title .

  4. In the base branch drop-down menu, select the base branch you'd like to compare changes against.

    Screenshot of a pull request title. The dropdown to change the base branch is outlined in dark orange.

  5. Read the information about changing the base branch and click Change base.

When you open a pull request, GitHub sets the base to the commit that branch references. If the branch is updated in the future, GitHub does not update the base branch's commit.

Further reading