Module 4 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

How to know if a pull request can be automatically merged?

A

Open a Pull Request in GitHub website and it will show me how the merge will go. I might need to rebase my changes in case of conflicts.

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

What is the difference between forking and cloning a remote repository in GitHub?

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

What is a code review and what is its purpose?

A

The deliberate and methodical gathering of other programmers to examine each other’s code.

The goal is to increase the code quality by checking for errors and reducing the amount of bugs. These reviews offer another chance to spot defects that went by undetected during development.

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

How does documenting my work promote more efficient collaboration?

A

To allow people to understand my changes without having to ask me directly. Otherwise, I might spend significant time explaining my changes to different people.

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

Why project maintainers should respond promptly to Pull Request?

A

To avoid the risk that commits done in the mean time by others cause conflicts that require rework to solve

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

What is a pipeline in terms of continuous integration/continuous delivery (CI/CD)?

A

The specific steps that need to run to obtain the desired result

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

What is an artifact in terms of continuous integration/continuous delivery (CI/CD) pipelines?

A

Any file generated as part of the CI/CD pipeline.

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

How do we reference issues in our commits with automatic links?

A

By using one of the keywords followed by a hashtag and the issue number.

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

Consider you have made some changes to your local copy of a Git repository. What happens to the remote repository?

A

The remote repository remains unchanged until you push your changes

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

Why is it important to execute pull requests instead of directly pushing changes to the main branch?

A

To review the code changes before they are merged.

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

What happens when you fork a repository?

A

A duplicate of the original repository is created in your GitHub account.

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