config.txt: move remote.* to a separate file
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
Oct 27, 2018 at 08:23 UTC
99fce39734702a78f7d8bbec469b64da79d3e832
2 files changed
+79
-78
Documentation/config.txt
+1
-78
@@ -393,84 +393,7 @@ include::config/rebase.txt[]
393
394
include::config/receive.txt[]
395
396
-remote.pushDefault::
397
- The remote to push to by default. Overrides
398
- `branch.<name>.remote` for all branches, and is overridden by
399
- `branch.<name>.pushRemote` for specific branches.
400
-
401
-remote.<name>.url::
402
- The URL of a remote repository. See linkgit:git-fetch[1] or
403
- linkgit:git-push[1].
404
-
405
-remote.<name>.pushurl::
406
- The push URL of a remote repository. See linkgit:git-push[1].
407
-
408
-remote.<name>.proxy::
409
- For remotes that require curl (http, https and ftp), the URL to
410
- the proxy to use for that remote. Set to the empty string to
411
- disable proxying for that remote.
412
-
413
-remote.<name>.proxyAuthMethod::
414
- For remotes that require curl (http, https and ftp), the method to use for
415
- authenticating against the proxy in use (probably set in
416
- `remote.<name>.proxy`). See `http.proxyAuthMethod`.
417
-
418
-remote.<name>.fetch::
419
- The default set of "refspec" for linkgit:git-fetch[1]. See
420
- linkgit:git-fetch[1].
421
-
422
-remote.<name>.push::
423
- The default set of "refspec" for linkgit:git-push[1]. See
424
- linkgit:git-push[1].
425
-
426
-remote.<name>.mirror::
427
- If true, pushing to this remote will automatically behave
428
- as if the `--mirror` option was given on the command line.
429
-
430
-remote.<name>.skipDefaultUpdate::
431
- If true, this remote will be skipped by default when updating
432
- using linkgit:git-fetch[1] or the `update` subcommand of
433
- linkgit:git-remote[1].
434
-
435
-remote.<name>.skipFetchAll::
436
- If true, this remote will be skipped by default when updating
437
- using linkgit:git-fetch[1] or the `update` subcommand of
438
- linkgit:git-remote[1].
439
-
440
-remote.<name>.receivepack::
441
- The default program to execute on the remote side when pushing. See
442
- option --receive-pack of linkgit:git-push[1].
443
-
444
-remote.<name>.uploadpack::
445
- The default program to execute on the remote side when fetching. See
446
- option --upload-pack of linkgit:git-fetch-pack[1].
447
-
448
-remote.<name>.tagOpt::
449
- Setting this value to --no-tags disables automatic tag following when
450
- fetching from remote <name>. Setting it to --tags will fetch every
451
- tag from remote <name>, even if they are not reachable from remote
452
- branch heads. Passing these flags directly to linkgit:git-fetch[1] can
453
- override this setting. See options --tags and --no-tags of
454
- linkgit:git-fetch[1].
455
-
456
-remote.<name>.vcs::
457
- Setting this to a value <vcs> will cause Git to interact with
458
- the remote with the git-remote-<vcs> helper.
459
-
460
-remote.<name>.prune::
461
- When set to true, fetching from this remote by default will also
462
- remove any remote-tracking references that no longer exist on the
463
- remote (as if the `--prune` option was given on the command line).
464
- Overrides `fetch.prune` settings, if any.
465
-
466
-remote.<name>.pruneTags::
467
- When set to true, fetching from this remote by default will also
468
- remove any local tags that no longer exist on the remote if pruning
469
- is activated in general via `remote.<name>.prune`, `fetch.prune` or
470
- `--prune`. Overrides `fetch.pruneTags` settings, if any.
471
-+
472
-See also `remote.<name>.prune` and the PRUNING section of
473
-linkgit:git-fetch[1].
396
+include::config/remote.txt[]
397
398
remotes.<group>::
399
The list of remotes which are fetched by "git remote update
Documentation/config/remote.txt
new
+78
@@ -0,0 +1,78 @@
1
+remote.pushDefault::
2
+ The remote to push to by default. Overrides
3
+ `branch.<name>.remote` for all branches, and is overridden by
4
+ `branch.<name>.pushRemote` for specific branches.
5
+
6
+remote.<name>.url::
7
+ The URL of a remote repository. See linkgit:git-fetch[1] or
8
+ linkgit:git-push[1].
9
+
10
+remote.<name>.pushurl::
11
+ The push URL of a remote repository. See linkgit:git-push[1].
12
+
13
+remote.<name>.proxy::
14
+ For remotes that require curl (http, https and ftp), the URL to
15
+ the proxy to use for that remote. Set to the empty string to
16
+ disable proxying for that remote.
17
+
18
+remote.<name>.proxyAuthMethod::
19
+ For remotes that require curl (http, https and ftp), the method to use for
20
+ authenticating against the proxy in use (probably set in
21
+ `remote.<name>.proxy`). See `http.proxyAuthMethod`.
22
+
23
+remote.<name>.fetch::
24
+ The default set of "refspec" for linkgit:git-fetch[1]. See
25
+ linkgit:git-fetch[1].
26
+
27
+remote.<name>.push::
28
+ The default set of "refspec" for linkgit:git-push[1]. See
29
+ linkgit:git-push[1].
30
+
31
+remote.<name>.mirror::
32
+ If true, pushing to this remote will automatically behave
33
+ as if the `--mirror` option was given on the command line.
34
+
35
+remote.<name>.skipDefaultUpdate::
36
+ If true, this remote will be skipped by default when updating
37
+ using linkgit:git-fetch[1] or the `update` subcommand of
38
+ linkgit:git-remote[1].
39
+
40
+remote.<name>.skipFetchAll::
41
+ If true, this remote will be skipped by default when updating
42
+ using linkgit:git-fetch[1] or the `update` subcommand of
43
+ linkgit:git-remote[1].
44
+
45
+remote.<name>.receivepack::
46
+ The default program to execute on the remote side when pushing. See
47
+ option --receive-pack of linkgit:git-push[1].
48
+
49
+remote.<name>.uploadpack::
50
+ The default program to execute on the remote side when fetching. See
51
+ option --upload-pack of linkgit:git-fetch-pack[1].
52
+
53
+remote.<name>.tagOpt::
54
+ Setting this value to --no-tags disables automatic tag following when
55
+ fetching from remote <name>. Setting it to --tags will fetch every
56
+ tag from remote <name>, even if they are not reachable from remote
57
+ branch heads. Passing these flags directly to linkgit:git-fetch[1] can
58
+ override this setting. See options --tags and --no-tags of
59
+ linkgit:git-fetch[1].
60
+
61
+remote.<name>.vcs::
62
+ Setting this to a value <vcs> will cause Git to interact with
63
+ the remote with the git-remote-<vcs> helper.
64
+
65
+remote.<name>.prune::
66
+ When set to true, fetching from this remote by default will also
67
+ remove any remote-tracking references that no longer exist on the
68
+ remote (as if the `--prune` option was given on the command line).
69
+ Overrides `fetch.prune` settings, if any.
70
+
71
+remote.<name>.pruneTags::
72
+ When set to true, fetching from this remote by default will also
73
+ remove any local tags that no longer exist on the remote if pruning
74
+ is activated in general via `remote.<name>.prune`, `fetch.prune` or
75
+ `--prune`. Overrides `fetch.pruneTags` settings, if any.
76
++
77
+See also `remote.<name>.prune` and the PRUNING section of
78
+linkgit:git-fetch[1].