You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you merge a linked pull request into the default branch of a repository, its linked issue is automatically closed. For more information about the default branch, see "Changing the default branch."
But the syntax I've most often seen people try to use is like:
Resolves #10#123octo-org/octo-repo#100
In that case, only the 1st issue is linked and automatically closed; the other two will not be linked and will not be closed.
✅ Solution
Many contributors don't realize the syntax required by GitHub to close multiple requests at the same time:
❌ Easy mistake
GitHub has a nice feature:
But the syntax I've most often seen people try to use is like:
In that case, only the 1st issue is linked and automatically closed; the other two will not be linked and will not be closed.
✅ Solution
Many contributors don't realize the syntax required by GitHub to close multiple requests at the same time:
This is the way to go!
💡 Proposed feature
If the example in the pull request template shows how to close multiple issues, it increases the chances people will see it and use it.
The text was updated successfully, but these errors were encountered: