Git - Remote Repositories Flashcards
1
Q
Create a new connection to a remote repo. After adding a remote, you can use as a shortcut for in other commands.
A
git remote add
2
Q
Fetches a specific , from the repo. Leave off to fetch all remote refs.
A
git fetch
3
Q
Fetch specified remote’s copy of current branch and immediately merge it into the local copy.
A
git pull
4
Q
Push the branch to , along with necessary commits and objects. Creates named branch in the remote repo if it doesn’t exist.
A
git push