|
1 | | --q, \--quiet:: |
| 1 | +-q:: |
| 2 | +--quiet:: |
2 | 3 | Pass --quiet to git-fetch-pack and silence any other internally |
3 | 4 | used programs. |
4 | 5 |
|
5 | | --v, \--verbose:: |
| 6 | +-v:: |
| 7 | +--verbose:: |
6 | 8 | Be verbose. |
7 | 9 |
|
8 | | --a, \--append:: |
| 10 | +-a:: |
| 11 | +--append:: |
9 | 12 | Append ref names and object names of fetched refs to the |
10 | 13 | existing contents of `.git/FETCH_HEAD`. Without this |
11 | 14 | option old data in `.git/FETCH_HEAD` will be overwritten. |
12 | 15 |
|
13 | | -\--upload-pack <upload-pack>:: |
| 16 | +--upload-pack <upload-pack>:: |
14 | 17 | When given, and the repository to fetch from is handled |
15 | 18 | by 'git-fetch-pack', '--exec=<upload-pack>' is passed to |
16 | 19 | the command to specify non-default path for the command |
17 | 20 | run on the other end. |
18 | 21 |
|
19 | | --f, \--force:: |
| 22 | +-f:: |
| 23 | +--force:: |
20 | 24 | When `git-fetch` is used with `<rbranch>:<lbranch>` |
21 | 25 | refspec, it refuses to update the local branch |
22 | 26 | `<lbranch>` unless the remote branch `<rbranch>` it |
23 | 27 | fetches is a descendant of `<lbranch>`. This option |
24 | 28 | overrides that check. |
25 | 29 |
|
26 | 30 | ifdef::git-pull[] |
27 | | -\--no-tags:: |
| 31 | +--no-tags:: |
28 | 32 | endif::git-pull[] |
29 | 33 | ifndef::git-pull[] |
30 | | --n, \--no-tags:: |
| 34 | +-n:: |
| 35 | +--no-tags:: |
31 | 36 | endif::git-pull[] |
32 | 37 | By default, tags that point at objects that are downloaded |
33 | 38 | from the remote repository are fetched and stored locally. |
34 | 39 | This option disables this automatic tag following. |
35 | 40 |
|
36 | | --t, \--tags:: |
| 41 | +-t:: |
| 42 | +--tags:: |
37 | 43 | Most of the tags are fetched automatically as branch |
38 | 44 | heads are downloaded, but tags that do not point at |
39 | 45 | objects reachable from the branch heads that are being |
40 | 46 | tracked will not be fetched by this mechanism. This |
41 | 47 | flag lets all tags and their associated objects be |
42 | 48 | downloaded. |
43 | 49 |
|
44 | | --k, \--keep:: |
| 50 | +-k:: |
| 51 | +--keep:: |
45 | 52 | Keep downloaded pack. |
46 | 53 |
|
47 | | --u, \--update-head-ok:: |
| 54 | +-u:: |
| 55 | +--update-head-ok:: |
48 | 56 | By default `git-fetch` refuses to update the head which |
49 | 57 | corresponds to the current branch. This flag disables the |
50 | 58 | check. This is purely for the internal use for `git-pull` |
51 | 59 | to communicate with `git-fetch`, and unless you are |
52 | 60 | implementing your own Porcelain you are not supposed to |
53 | 61 | use it. |
54 | 62 |
|
55 | | -\--depth=<depth>:: |
| 63 | +--depth=<depth>:: |
56 | 64 | Deepen the history of a 'shallow' repository created by |
57 | 65 | `git clone` with `--depth=<depth>` option (see linkgit:git-clone[1]) |
58 | 66 | by the specified number of commits. |
0 commit comments