2005-11-07 06:30:56 +01:00
|
|
|
-a, \--append::
|
|
|
|
Append ref names and object names of fetched refs to the
|
|
|
|
existing contents of `.git/FETCH_HEAD`. Without this
|
|
|
|
option old data in `.git/FETCH_HEAD` will be overwritten.
|
|
|
|
|
|
|
|
-f, \--force::
|
2005-12-01 21:24:51 +01:00
|
|
|
When `git-fetch` is used with `<rbranch>:<lbranch>`
|
|
|
|
refspec, it refuses to update the local branch
|
|
|
|
`<lbranch>` unless the remote branch `<rbranch>` it
|
|
|
|
fetches is a descendant of `<lbranch>`. This option
|
|
|
|
overrides that check.
|
2005-11-07 06:30:56 +01:00
|
|
|
|
2006-01-07 09:48:04 +01:00
|
|
|
\--no-tags::
|
|
|
|
By default, `git-fetch` fetches tags that point at
|
|
|
|
objects that are downloaded from the remote repository
|
|
|
|
and stores them locally. This option disables this
|
|
|
|
automatic tag following.
|
|
|
|
|
2005-11-07 06:30:56 +01:00
|
|
|
-t, \--tags::
|
2006-01-07 09:48:04 +01:00
|
|
|
Most of the tags are fetched automatically as branch
|
|
|
|
heads are downloaded, but tags that do not point at
|
|
|
|
objects reachable from the branch heads that are being
|
|
|
|
tracked will not be fetched by this mechanism. This
|
|
|
|
flag lets all tags and their associated objects be
|
|
|
|
downloaded.
|
2005-11-07 06:30:56 +01:00
|
|
|
|
|
|
|
-u, \--update-head-ok::
|
|
|
|
By default `git-fetch` refuses to update the head which
|
|
|
|
corresponds to the current branch. This flag disables the
|
|
|
|
check. Note that fetching into the current branch will not
|
|
|
|
update the index and working directory, so use it with care.
|
2006-01-07 09:48:04 +01:00
|
|
|
|