github-docs-arabic-enhanced / content /pull-requests /collaborating-with-pull-requests /incorporating-changes-from-a-pull-request /closing-a-pull-request.md
metadata
title: Closing a pull request
intro: >-
You may choose to *close* a pull request without [merging it into the upstream
branch](/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request).
This can be handy if the changes proposed in the branch are no longer needed,
or if another solution has been proposed in another branch.
redirect_from:
- >-
/github/collaborating-with-issues-and-pull-requests/incorporating-changes-from-a-pull-request/closing-a-pull-request
- /articles/closing-a-pull-request
- /github/collaborating-with-issues-and-pull-requests/closing-a-pull-request
- >-
/github/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/closing-a-pull-request
versions:
fpt: '*'
ghes: '*'
ghec: '*'
topics:
- Pull requests
If you opened a pull request with the wrong base branch, rather than closing it out and opening a new one, you can instead change the base branch. For more information, see AUTOTITLE.
{% data reusables.repositories.sidebar-pr %}
- In the "Pull Requests" list, click the pull request you'd like to close.
- At the bottom of the pull request, below the comment box, click Close pull request.
- Optionally, delete the branch. This keeps the list of branches in your repository tidy.