What do `Closes #123` and `Fixes #123` do in a PR or commit?
IntermediateConceptBranching strategies, pull requests and code review
Answer
On merge into the default branch, GitHub auto-closes the referenced issue. Keywords include close, closes, fix, fixes, resolve, resolves. Cross-repo form is Fixes org/repo#123. It only works when the PR targets the default branch.
More on Branching strategies, pull requests and code review
What is a feature-branch workflow?BeginnerWhat is GitFlow and what are its branches?IntermediateWhat is trunk-based development and what does it require?IntermediateWhat is GitHub Flow and how does it differ from GitFlow?BeginnerWhat is release-branch strategy with cherry-picked fixes?IntermediateWhat makes a good pull request?Beginner