Interview Prep/Git & GitHub/Branching strategies, pull requests and code review

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.

All Git & GitHub questions Roadmap: Git & GitHub

More on Branching strategies, pull requests and code review