1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Files
docs/content/github/collaborating-with-issues-and-pull-requests/closing-a-pull-request.md
Jason Etcovitch caaee7a124 Update all files to use {% data %} (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00

1.1 KiB

title, intro, redirect_from, versions
title intro redirect_from versions
Closing a pull request You may choose to *close* a pull request without [merging it into the upstream branch](/articles/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.
/articles/closing-a-pull-request
free-pro-team enterprise-server
* *

{% tip %}

Tip: 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 "Changing the base branch of a pull request."

{% endtip %}

{% data reusables.repositories.sidebar-pr %} 2. In the "Pull Requests" list, click the pull request you'd like to close. 3. At the bottom of the pull request, below the comment box, click Close pull request. The close Pull Request button 4. Optionally, delete the branch. This keeps the list of branches in your repository tidy.