diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-02-04 08:32:04 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-02-04 08:32:04 +0000 |
commit | ee1e428396a619659999df3e609e3d689173aaf5 (patch) | |
tree | 4887669f14cd36b9ffe70f49d535d3b4b1426284 /git-remote.txt | |
parent | 8a66a65638e314180d1e8aa89b35544b1800dc87 (diff) | |
download | git-htmldocs-ee1e428396a619659999df3e609e3d689173aaf5.tar.gz |
Autogenerated HTML docs for v1.5.0-rc3-39-gec804
Diffstat (limited to 'git-remote.txt')
-rw-r--r-- | git-remote.txt | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/git-remote.txt b/git-remote.txt index 817651eaa..a60c31a31 100644 --- a/git-remote.txt +++ b/git-remote.txt @@ -19,18 +19,33 @@ DESCRIPTION Manage the set of repositories ("remotes") whose branches you track. -With no arguments, shows a list of existing remotes. -In the second form, adds a remote named <name> for the repository at +COMMANDS +-------- + +With no arguments, shows a list of existing remotes. Several +subcommands are available to perform operations on the remotes. + +'add':: + +Adds a remote named <name> for the repository at <url>. The command `git fetch <name>` can then be used to create and update remote-tracking branches <name>/<branch>. -In the third form, gives some information about the remote <name>. +'show':: -In the fourth form, deletes all stale tracking branches under <name>. +Gives some information about the remote <name>. + +'prune':: + +Deletes all stale tracking branches under <name>. These stale branches have already been removed from the remote repository referenced by <name>, but are still locally available in "remotes/<name>". + +DISCUSSION +---------- + The remote configuration is achieved using the `remote.origin.url` and `remote.origin.fetch` configuration variables. (See gitlink:git-config[1]). |