g1it help remoteCode: (dl )1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31...
SYNOPSIS
git remote [-v | --verbose]
git remote add [-t <branch>] [-m <master>] [-f] [--mirror] <name> <url>
...
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>.
With -f option, git fetch <name> is run immediately after the remote information is
set up.
With -t <branch> option, instead of the default glob refspec for the remote to
track all branches under $GIT_DIR/remotes/<name>/, a refspec to track only <branch>
is created. You can give more than one -t <branch> to track multiple branches
without grabbing all branches.
With -m <master> option, $GIT_DIR/remotes/<name>/HEAD is set up to point at
remote?s <master> branch instead of whatever branch the HEAD at the remote
repository actually points at.
In mirror mode, enabled with --mirror, the refs will not be stored in the
refs/remotes/ namespace, but in refs/heads/. This option only makes sense in bare
repositories. If a remote uses mirror mode, furthermore, git push will always
behave as if --mirror was passed.
...