Skip to main content

Esta versão do GitHub Enterprise Server será descontinuada em 2026-08-25. Não há suporte para versões descontinuadas. Nenhum lançamento de patch será feito, mesmo para questões críticas de segurança. Para obter melhor desempenho, segurança aprimorada e novos recursos no GitHub Enterprise Server, consulte Overview do processo de atualização. Para obter ajuda com a atualização, entre em contato com o GitHub Enterprise Support.

Closing a pull request

Close a pull request without merging it to manage unnecessary changes or address alternative solutions in other branches.

Dica

If you opened a pull request with the wrong base branch, instead of closing it and opening a new one, you can change the base branch. See Changing the base branch of a pull request.

  1. Abaixo do nome do repositório, clique em Pull requests.

    Captura de tela da página principal de um repositório. Na barra de navegação horizontal, uma guia, rotulada como "Solicitações de pull", é destacada em laranja escuro.

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

  3. At the bottom of the pull request, below the comment box, click Close pull request.

  4. Optionally, delete the branch. This keeps the list of branches in your repository tidy.