GH-900 · Question #91
Which of the following keywords are used to link a pull request to an issue? (Choose three.)
The correct answer is A. fix B. resolves E. closed. GitHub recognizes a specific set of keywords in PR descriptions and commit messages that automatically link and close issues. The supported keywords include: fix / fixes / fixed, close / closes / closed, and resolve / resolves / resolved. From the choices: (A) fix is a valid…
Question
Which of the following keywords are used to link a pull request to an issue? (Choose three.)
Options
- Afix
- Bresolves
- Cmerge
- Djoin
- Eclosed
- Fconnects
How the community answered
(61 responses)- A95% (58)
- D2% (1)
- F3% (2)
Explanation
GitHub recognizes a specific set of keywords in PR descriptions and commit messages that automatically link and close issues. The supported keywords include: fix / fixes / fixed, close / closes / closed, and resolve / resolves / resolved. From the choices: (A) fix is a valid linking keyword, (B) resolves is a valid linking keyword, and (E) closed is a valid linking keyword (past tense of 'close'). Option C (merge) is not a GitHub linking keyword - it is a git operation. Option D (join) and F (connects) are not recognized GitHub issue-linking keywords.
Topics
Community Discussion
No community discussion yet for this question.