SHARE & UPDATE Flashcards
Git Commands
1
Q
add a git URL as an alias
A
git remote add [alias] [url]
2
Q
fetch down all the branches from that Git remote
A
git fetch [alias]
3
Q
merge a remote branch into your current branch to bring it up to date
A
git merge [alias]/[branch]
4
Q
Transmit local branch commits to the remote repository branch
A
git push [alias] [branch]
5
Q
fetch and merge any commits from the tracking remote branch
A
git pull