6 git-remote - manage set of tracked repositories
13 'git-remote' add <name> <url>
14 'git-remote' show <name>
15 'git-remote' prune <name>
20 Manage the set of repositories ("remotes") whose branches you track.
26 With no arguments, shows a list of existing remotes. Several
27 subcommands are available to perform operations on the remotes.
31 Adds a remote named <name> for the repository at
32 <url>. The command `git fetch <name>` can then be used to create and
33 update remote-tracking branches <name>/<branch>.
37 Gives some information about the remote <name>.
41 Deletes all stale tracking branches under <name>.
42 These stale branches have already been removed from the remote repository
43 referenced by <name>, but are still locally available in "remotes/<name>".
49 The remote configuration is achieved using the `remote.origin.url` and
50 `remote.origin.fetch` configuration variables. (See
51 gitlink:git-config[1]).
56 Add a new remote, fetch, and check out a branch from it:
63 $ git remote add linux-nfs git://linux-nfs.org/pub/nfs-2.6.git
68 * refs/remotes/linux-nfs/master: storing branch 'master' ...
73 $ git checkout -b nfs linux-nfs/master
85 Written by Junio Hamano
90 Documentation by J. Bruce Fields and the git-list <git@vger.kernel.org>.
95 Part of the gitlink:git[7] suite