Home / Companies / GitHub / Blog / Post Details
Content Deep Dive

Closing Issues via Pull Requests

Blog post from GitHub

Post Details
Company
Date Published
Author
Yossef Mendelssohn
Word Count
114
Language
English
Hacker News Points
-
Summary

GitHub now allows users to close issues directly from a Pull Request (PR) by including specific keyword syntax such as "fixes #5" in the PR's body, a feature that complements the existing ability to close issues from commit messages. This new functionality is particularly useful for issues requiring multiple commits, as it automatically closes the referenced issue once the PR is merged into the default branch. Additionally, users can view pending fixes before merging, and the feature works seamlessly across different repositories, enhancing workflow efficiency and collaboration.