Git commands Flashcards

(3 cards)

1
Q

clone a remote repository

A

git clone <repo-link></repo-link>

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

list all the remote branches

A

git branch -r

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

Check current branch

A

git branch

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