GitHub Flow Flashcards

1
Q

What are the basic 6 Steps in the GitHub workflow?

A

1.Create a new branch to implement the feature (or bugfix…).
2.Implement the code and add commits to the branch.
3.Push the code to the remote repository on GitHub.
4.Open a Pull Request on GitHub.
5.The code gets reviewed and discussed.
6.Merge the branch to the main branch (aka master).

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

What is a Pull Request?

A

A PR (=Pull Request) is a place where your team can review and discuss the code changes.

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

What does the command git branch do ?

A

It creates a new branch.

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

What does the command git checkout do?

A

It is used to change the branch.

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

What does the command git commit do ?

A

It adds changes.

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

What does the command git pulldo ?

A

It syncs my local repository with the remote repository.

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

What does the command git pushdo ?

A

It updates the remote repository.

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