nerdexam
Microsoft

GH-900 · Question #21

What is the minimum access needed to contribute to a repository?

The correct answer is D. Write. Write access is the minimum permission level required to directly contribute to a repository - meaning you can push commits, create branches, and open pull requests from within the repo. Read access (A) only allows viewing and cloning the repository but not pushing changes…

Working with GitHub Repositories

Question

What is the minimum access needed to contribute to a repository?

Options

  • ARead
  • BTriage
  • CMaintain
  • DWrite

How the community answered

(26 responses)
  • A
    8% (2)
  • B
    4% (1)
  • D
    88% (23)

Explanation

Write access is the minimum permission level required to directly contribute to a repository - meaning you can push commits, create branches, and open pull requests from within the repo. Read access (A) only allows viewing and cloning the repository but not pushing changes. Triage access (B) allows managing issues and pull requests but not pushing code. Maintain access (C) is a higher level that includes managing repository settings. Note: anyone can fork a public repo and submit a pull request, but to push directly to the repository itself, Write access is the minimum required.

Topics

#GitHub permissions#Repository access#Roles#Contribution

Community Discussion

No community discussion yet for this question.

Full GH-900 Practice