SHARE & UPDATE Flashcards

Git Commands

1
Q

add a git URL as an alias

A

git remote add [alias] [url]

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

fetch down all the branches from that Git remote

A

git fetch [alias]

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

merge a remote branch into your current branch to bring it up to date

A

git merge [alias]/[branch]

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

Transmit local branch commits to the remote repository branch

A

git push [alias] [branch]

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

fetch and merge any commits from the tracking remote branch

A

git pull

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