$ git remote add <name> <url>
Create a new connection to a remote repo. After adding a remote, you can use
as a shortcut for in other commands.
$ git fetch <remote> <branch>
Fetches a specific , from the repo. Leave off to fetch all remote refs.
Fetch the specified remote’s copy of current branch and immediately merge it into the local copy.
$ git push <remote> <branch>
Push the branch to , along with necessary commits and objects. Creates named branch in the remote repo if it doesn’t exist.
No comments:
Post a Comment