@@ -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
4141COMMANDS
@@ -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
5151update remote-tracking branches <name>/<branch>.
5252+
@@ -109,13 +109,13 @@ With `-d` or `--delete`, the symbolic ref `refs/remotes/<name>/HEAD` is deleted.
109109+
110110With `-a` or `--auto`, the remote is queried to determine its `HEAD`, then the
111111symbolic-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
113113the symbolic-ref `refs/remotes/origin/HEAD` to `refs/remotes/origin/next`. This will
114114only work if `refs/remotes/origin/next` already exists; if not it must be
115115fetched 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
127127after the initial setup for a remote.
128128+
129129The 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+
132132With `--add`, instead of replacing the list of currently tracked
133133branches, adds to that list.
@@ -181,16 +181,16 @@ fetch --prune <name>`, except that no new references will be fetched.
181181See the PRUNING section of linkgit:git-fetch[1] for what it'll prune
182182depending 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
185185actually prune them.
186186
187187'update'::
188188
189189Fetch 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,
191191the configuration parameter remotes.default will be used; if
192192remotes.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
194194be updated. (See linkgit:git-config[1]).
195195+
196196With `--prune` option, run pruning against all the remotes that are updated.
0 commit comments