6 git-remote - manage set of tracked repositories
13 'git-remote' add <name> <url>
14 'git-remote' show <name>
19 Manage the set of repositories ("remotes") whose branches you track.
21 With no arguments, shows a list of existing remotes.
23 In the second form, adds a remote named <name> for the repository at
24 <url>. The command `git fetch <name>` can then be used to create and
25 update remote-tracking branches <name>/<branch>.
27 In the third form, gives some information about the remote <name>.
29 The remote configuration is achieved using the `remote.origin.url` and
30 `remote.origin.fetch` configuration variables. (See
31 gitlink:git-repo-config[1]).
36 Add a new remote, fetch, and check out a branch from it:
43 $ git remote add linux-nfs git://linux-nfs.org/pub/nfs-2.6.git
48 * refs/remotes/linux-nfs/master: storing branch 'master' ...
53 $ git checkout -b nfs linux-nfs/master
61 gitlink:git-repo-config[1]
65 Written by Junio Hamano
70 Documentation by J. Bruce Fields and the git-list <git@vger.kernel.org>.
75 Part of the gitlink:git[7] suite