Group Changes (name a series of commits and combines completed efforts) Flashcards

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

$ git branch [branch-name]

A

Creates a new branch.

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

$ git branch

A

Lists all local branches in the current repository.

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

$ git checkout [branch-name]

A

Switches to the specified branch and updates the working directory.

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

$ git merge [branch]

A

Combines the specified branch’s history into the current branch.

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

$ git branch -d [branch-name]

A

Deletes the specified branch.

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