Branches and Tags Flashcards

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

git branch -av

A

list all existing branches

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

git checkout (co works)

A

switch HEAD branch

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

git branch

A

Create a new branch based on your current HEAD

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

git checkout –track

A

create a new tracking branch based on a remote branch

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

git branch -d

A

delete a local branch

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

git tag

A

Mark the current commit with a tag

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