Domain 3: Collaboration Features - Deck 1 Flashcards

1
Q

Q54: What are the possible statuses for a pull request review? (Choose three.) [ghcertified]

a) Applaud
b) Deny
c) Approve
d) Close
e) Comment
f) Request Changes

A

C,E,F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Q51: Which information can be found in the Pulse section in the Insights tab of a repository? (Choose four) [ghcertified]

a) Amount of forks of the repo
b) Pull requests open/merged ratio
c) Summary of repository activity
d) List of unresolved conversations
e) List of issue discussions
f) Amount of code line additions and deletions

A

B,C,D,F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe how to link a PR to an issue

A

You can link a pull request to an issue using a keyword in the comments, such as “close(s/d)”, “fix(es/ed)”, or “resolve(s/d)”, followed by the issue number.

Alternatively, you can manually link up to ten issues per pull request by navigating to the pull request page, clicking “Development,” and then selecting the issue you wish to associate. Both the issue and pull request must be within the same repository.

The process for linking through the issue itself follows the same steps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can you link a pull request to an issue in GitHub? [Describe how to link a PR to an issue]

a) By using a keyword like “closes” in the pull request description, followed by the issue number.
b) By manually linking the issue to the pull request from the pull request page.
c) All of the above.

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe how to create an issue

A

The most common method is to navigate to the repository’s “Issues” tab, click “New issue,” and then enter a title and description for the issue.

Alternatively, you can use the GitHub CLI command “gh issue create” to create an issue.

Other methods include creating issues from comments, code, discussions, projects, task lists, URL queries, and code scanning alerts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Question 1: What are the two most common ways to create an issue on GitHub?[Describe how to create an issue]

a) Using the GitHub CLI command “gh issue create” and creating a branch.
b) Navigating to the “Issues” tab and clicking “New issue” and using the GitHub CLI command “gh issue create”.
c) Creating from the notifcation and using git flow.

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Aside from the two most common ways, what are other ways to create an issue on GitHub?[Describe how to create an issue]

a) Using Git commands like “git add” and “git commit” and using codespaces.
b) Creating a branch from the issue and using Git flow.
c) Creating an issue from comments, code, discussions, projects, task lists, URL queries, and code scanning alerts.

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe the difference between an issue, discussion, and pull request

A

An issue is a way to track improvements, tasks, or bugs for work on GitHub, acting as a primary tool for collaborative problem-solving within a repository.

Discussions, on the other hand, provide a space for community members to engage in conversations and share ideas, questions, or comments, focusing on open dialogue rather than task tracking or problem reporting.

A pull request is a way to propose changes to the codebase, suggesting that your changes be merged into the main code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which of the following options has the correct description? [Describe the difference between an issue, discussion, and pull request]

a) Discussion: A discussion is a way to track improvements, tasks, or bugs for work on GitHub. It is a primary tool for collaborative problem-solving within a repository.
b) Issue: An issue is a way to propose changes to the codebase. By opening an issue, you are suggesting that your changes be merged into the main code.
c) Pull Request: A pull request is a way to track improvements, tasks, or bugs for work on GitHub. It is a primary tool for collaborative problem-solving within a repository.
d) Discussion: A discussion is a feature that provides a space for community members to engage in conversations and share ideas, questions, or comments. It’s more about having an open discussion than tracking tasks or reporting problems like issues.

A

D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain how to create a branch from an issue

A

1) To create a branch from an issue, in the repository, navigate to the issue page.

2) In the right side menu, in “Development”, click in “Create a branch”.

3) Give the branch a name, select the repository. destination and choose if you want to work on the branch locally or open it in GitHub Desktop.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Identify how to assign issues

A

1) In the main page of the repository, click in “Issue” or “Pull Request”

2) In the right side menu, click “Assignees”.

3) Start typing their username, then click their name when it appears.

You can select and add up to ten assignees to an issue or pull request.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe how to search and filter issues

A

1) In the main page of the repositor, click in Issue or Pull Request

2) Above the list, select the Filters dropdown menu, then click the type of filter you’re interested in.

The “Filters” dropdown menu allows you to view open or created issues and pull requests, those assigned to you, and those where you are mentioned.

You can also search by search, label, assignee, author, milestone, and use advanced filters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What can you search for using the “Filters” dropdown menu? [Describe how to search and filter issues]

a) All open issues and pull requests, Issues and pull requests created by you, assigned to you, or where you are mentioned.
b) Specific keywords, labels, and milestones.
c) Open and closed issues, specific mentions, comments, and timeframes.

A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Alternative methods for filtering issues without the filter dropdown: [Describe how to search and filter issues]

  • S___ b
  • L______
  • Au_____
  • Ass__
  • M_____
  • A_______ F______
A
  • search bar
  • label
  • assignee
  • author
  • milestone
  • dvanced filters
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Describe how to pin an issue

A

1) navigate to the main page of the repository.
2) Click “Issue”
3) In the list of issues, click the issue you’d like to pin.
4) In the right sidebar, click Pin issue.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Explain how to use keywords in issues
You can use keywords:

A

1) to link a fixed issue and pull request (Fixed #10) or
2) to mark an issue or pull request as a duplicate.(Duplicate of #97)

17
Q

How many issues can you fix now in the issues list? [Describe how to pin an issue]

A

You can pin up to three important issues

18
Q

True or False: When we link an issue to a pull request like “Closes #10” it is automatically closed. [Explain how to use keywords in issues]

A

False, you do need to link it, but it is only automatically closed when someone merges the pull request.

19
Q

What are the keywords used to link an issue to a pull request? And to mark that it is duplicated? [Explain how to use keywords in issues]

Tip: C, F, R and DO

A
  • Close(s/d). Fix(es/ed), Resolve(s/d) + #number
  • Duplicate of + #number
20
Q

What is an issue? [Explain basic issue management]

a) A feature that allows you to assign specific users to tasks or bugs.
b) A tool for tracking improvements, tasks, or bugs within a repository.
c) A way to group issues together for a specific release or project phase.

A

B