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
The top 10 gifts for the developer in your life
Whether you’re hunting for the perfect gift for your significant other, the colleague you drew in the office gift exchange, or maybe (just maybe) even for yourself, we’ve got you covered with our top 10 gifts that any developer would love.
Congratulations to the winners of the 2024 Gaady Awards
The Gaady Awards are like the Emmy Awards for the field of digital accessibility. And, just like the Emmys, the Gaadys are a reason to celebrate! On November 21, GitHub was honored to roll out the red carpet for the accessibility community at our San Francisco headquarters.
Students: Start building your skills with the GitHub Foundations certification
The GitHub Foundations Certification exam fee is now waived for all students verified through GitHub Education.