Closing Issues via Pull Requests
It’s been possible to close an issue from a commit for quite a while, but some issues take more work than a single commit to close. That’s why you can…
It’s been possible to close an issue from a commit for quite a while, but
some issues take more work than a single commit to close. That’s why you
can now close an issue from a Pull Request. All you have to do is include the
special keyword syntax (eg. “fixes #5”) in the body of your Pull Request.
And the referenced issue will automatically be closed when the PR is merged
into the default branch.
You will even see the references as pending fixes before merging.
This works the same way closing an issue from a commit message does.
It even works across repositories.
Happy bug fixing!
Written by
Related posts
Inside the research: How GitHub Copilot impacts the nature of work for open source maintainers
An interview with economic researchers analyzing the causal effect of GitHub Copilot on how open source maintainers work.
OpenAI’s latest o1 model now available in GitHub Copilot and GitHub Models
The December 17 release of OpenAI’s o1 model is now available in GitHub Copilot and GitHub Models, bringing advanced coding capabilities to your workflows.
Announcing 150M developers and a new free tier for GitHub Copilot in VS Code
Come and join 150M developers on GitHub that can now code with Copilot for free in VS Code.