@@ -10,7 +10,7 @@ SYNOPSIS
10
10
--------
11
11
[verse]
12
12
'git remote' [-v | --verbose]
13
- 'git remote add' [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=< fetch|push> ] <name> <url>
13
+ 'git remote add' [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=( fetch|push) ] <name> <url>
14
14
'git remote rename' <old> <new>
15
15
'git remote remove' <name>
16
16
'git remote set-head' <name> (-a | --auto | -d | --delete | <branch>)
@@ -35,7 +35,7 @@ OPTIONS
35
35
-v::
36
36
--verbose::
37
37
Be a little more verbose and show remote url after name.
38
- NOTE: This must be placed between `remote` and ` subcommand` .
38
+ NOTE: This must be placed between `remote` and subcommand.
39
39
40
40
41
41
COMMANDS
@@ -46,7 +46,7 @@ subcommands are available to perform operations on the remotes.
46
46
47
47
'add'::
48
48
49
- Adds a remote named <name> for the repository at
49
+ Add a remote named <name> for the repository at
50
50
<url>. The command `git fetch <name>` can then be used to create and
51
51
update remote-tracking branches <name>/<branch>.
52
52
+
@@ -109,13 +109,13 @@ With `-d` or `--delete`, the symbolic ref `refs/remotes/<name>/HEAD` is deleted.
109
109
+
110
110
With `-a` or `--auto`, the remote is queried to determine its `HEAD`, then the
111
111
symbolic-ref `refs/remotes/<name>/HEAD` is set to the same branch. e.g., if the remote
112
- `HEAD` is pointed at `next`, " `git remote set-head origin -a`" will set
112
+ `HEAD` is pointed at `next`, `git remote set-head origin -a` will set
113
113
the symbolic-ref `refs/remotes/origin/HEAD` to `refs/remotes/origin/next`. This will
114
114
only work if `refs/remotes/origin/next` already exists; if not it must be
115
115
fetched first.
116
116
+
117
- Use `<branch>` to set the symbolic-ref `refs/remotes/<name>/HEAD` explicitly. e.g., " git
118
- remote set-head origin master" will set the symbolic-ref `refs/remotes/origin/HEAD` to
117
+ Use `<branch>` to set the symbolic-ref `refs/remotes/<name>/HEAD` explicitly. e.g., ` git
118
+ remote set-head origin master` will set the symbolic-ref `refs/remotes/origin/HEAD` to
119
119
`refs/remotes/origin/master`. This will only work if
120
120
`refs/remotes/origin/master` already exists; if not it must be fetched first.
121
121
+
@@ -127,7 +127,7 @@ This can be used to track a subset of the available remote branches
127
127
after the initial setup for a remote.
128
128
+
129
129
The named branches will be interpreted as if specified with the
130
- `-t` option on the ' git remote add' command line.
130
+ `-t` option on the ` git remote add` command line.
131
131
+
132
132
With `--add`, instead of replacing the list of currently tracked
133
133
branches, adds to that list.
@@ -181,16 +181,16 @@ fetch --prune <name>`, except that no new references will be fetched.
181
181
See the PRUNING section of linkgit:git-fetch[1] for what it'll prune
182
182
depending on various configuration.
183
183
+
184
- With `--dry-run` option, report what branches will be pruned, but do not
184
+ With `--dry-run` option, report what branches would be pruned, but do not
185
185
actually prune them.
186
186
187
187
'update'::
188
188
189
189
Fetch updates for remotes or remote groups in the repository as defined by
190
- remotes.<group>. If neither group nor remote is specified on the command line,
190
+ ` remotes.<group>`. If neither group nor remote is specified on the command line,
191
191
the configuration parameter remotes.default will be used; if
192
192
remotes.default is not defined, all remotes which do not have the
193
- configuration parameter remote.<name>.skipDefaultUpdate set to true will
193
+ configuration parameter ` remote.<name>.skipDefaultUpdate` set to true will
194
194
be updated. (See linkgit:git-config[1]).
195
195
+
196
196
With `--prune` option, run pruning against all the remotes that are updated.
0 commit comments