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