nerdexam
Microsoft

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…

Collaboration Features

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)
  • A
    95% (58)
  • D
    2% (1)
  • F
    3% (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

#GitHub Pull Requests#GitHub Issues#Issue linking keywords#PR automation

Community Discussion

No community discussion yet for this question.

Full GH-900 Practice