git remote
Manage remote repository
Subcommands
Name | Description |
---|---|
add | Add a remote named <name> for the repository at <url> |
set-head | Sets or deletes the default branch |
set-branches | Changes the list of branches tracked by the named remote. This can be used to track a subset of the available remote branches after the initial setup for a remote |
rm, remove | Removes given remote [name] |
rename | Removes given remote [name] |
get-url | Retrieves the URLs for a remote |
set-url | Changes the URLs for the remote |
show | Gives some information about the remote [name] |
prune | Equivalent to git fetch --prune [name], except that no new references will be fetched |
update | Fetch updates for remotes or remote groups in the repository as defined by remotes.<group> |
Options
Name | Description |
---|---|
-v, --verbose | Be a little more verbose and show remote url after name. NOTE: This must be placed between remote and subcommand |