Skip to content

Commit

Permalink
Document additional options for git-fetch
Browse files Browse the repository at this point in the history
Document --quiet/-q and --verbose/-v
Add -n as an alternate for --no-tags
Fix some whitespace issues

Signed-off-by: Andrew Ruder <andy@aeruder.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Andrew Ruder authored and Junio C Hamano committed Apr 27, 2007
1 parent 4551d05 commit 4290529
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions Documentation/fetch-options.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
-q, \--quiet::
Pass --quiet to git-fetch-pack and silence any other internally
used programs.

-v, \--verbose::
Be verbose.

-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.

\--upload-pack <upload-pack>::
When given, and the repository to fetch from is handled
by 'git-fetch-pack', '--exec=<upload-pack>' is passed to
the command to specify non-default path for the command
run on the other end.
When given, and the repository to fetch from is handled
by 'git-fetch-pack', '--exec=<upload-pack>' is passed to
the command to specify non-default path for the command
run on the other end.

-f, \--force::
When `git-fetch` is used with `<rbranch>:<lbranch>`
Expand All @@ -16,7 +23,7 @@
fetches is a descendant of `<lbranch>`. This option
overrides that check.

\--no-tags::
-n, \--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
Expand Down

0 comments on commit 4290529

Please sign in to comment.