Skip to content

Commit 89eed6f

Browse files
jnavilagitster
authored andcommitted
doc: git-remote fix ups
Signed-off-by: Jean-Noël Avila <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 49fbf9e commit 89eed6f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Documentation/git-remote.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SYNOPSIS
1010
--------
1111
[verse]
1212
'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>
1414
'git remote rename' <old> <new>
1515
'git remote remove' <name>
1616
'git remote set-head' <name> (-a | --auto | -d | --delete | <branch>)
@@ -35,7 +35,7 @@ OPTIONS
3535
-v::
3636
--verbose::
3737
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.
3939

4040

4141
COMMANDS
@@ -46,7 +46,7 @@ subcommands are available to perform operations on the remotes.
4646

4747
'add'::
4848

49-
Adds a remote named <name> for the repository at
49+
Add a remote named <name> for the repository at
5050
<url>. The command `git fetch <name>` can then be used to create and
5151
update remote-tracking branches <name>/<branch>.
5252
+
@@ -109,13 +109,13 @@ With `-d` or `--delete`, the symbolic ref `refs/remotes/<name>/HEAD` is deleted.
109109
+
110110
With `-a` or `--auto`, the remote is queried to determine its `HEAD`, then the
111111
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
113113
the symbolic-ref `refs/remotes/origin/HEAD` to `refs/remotes/origin/next`. This will
114114
only work if `refs/remotes/origin/next` already exists; if not it must be
115115
fetched first.
116116
+
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
119119
`refs/remotes/origin/master`. This will only work if
120120
`refs/remotes/origin/master` already exists; if not it must be fetched first.
121121
+
@@ -127,7 +127,7 @@ This can be used to track a subset of the available remote branches
127127
after the initial setup for a remote.
128128
+
129129
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.
131131
+
132132
With `--add`, instead of replacing the list of currently tracked
133133
branches, adds to that list.
@@ -181,16 +181,16 @@ fetch --prune <name>`, except that no new references will be fetched.
181181
See the PRUNING section of linkgit:git-fetch[1] for what it'll prune
182182
depending on various configuration.
183183
+
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
185185
actually prune them.
186186

187187
'update'::
188188

189189
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,
191191
the configuration parameter remotes.default will be used; if
192192
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
194194
be updated. (See linkgit:git-config[1]).
195195
+
196196
With `--prune` option, run pruning against all the remotes that are updated.

0 commit comments

Comments
 (0)