Read: https://stackoverflow.com/a/15827689 TL;Dr: Mentioning `Fixes #some_issue_number` in the PR body would close the issue when the PR is merged.