git-fetch/push/pull: documentation.
The documentation was lazily sharing the argument description across these commands. Lazy may be a way of life, but that does not justify confusing others ;-). Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
4dab94d52e
commit
d6a73596e7
@ -25,6 +25,11 @@ OPTIONS
|
|||||||
-------
|
-------
|
||||||
include::pull-fetch-param.txt[]
|
include::pull-fetch-param.txt[]
|
||||||
|
|
||||||
|
-a, \--append::
|
||||||
|
Append ref names and object names of fetched refs to the
|
||||||
|
existing contents of $GIT_DIR/FETCH_HEAD. Without this
|
||||||
|
option old data in $GIT_DIR/FETCH_HEAD will be overwritten.
|
||||||
|
|
||||||
-u, \--update-head-ok::
|
-u, \--update-head-ok::
|
||||||
By default 'git-fetch' refuses to update the head which
|
By default 'git-fetch' refuses to update the head which
|
||||||
corresponds to the current branch. This flag disables the
|
corresponds to the current branch. This flag disables the
|
||||||
|
@ -24,6 +24,10 @@ OPTIONS
|
|||||||
-------
|
-------
|
||||||
include::pull-fetch-param.txt[]
|
include::pull-fetch-param.txt[]
|
||||||
|
|
||||||
|
-a, \--append::
|
||||||
|
Append ref names and object names of fetched refs to the
|
||||||
|
existing contents of $GIT_DIR/FETCH_HEAD. Without this
|
||||||
|
option old data in $GIT_DIR/FETCH_HEAD will be overwritten.
|
||||||
|
|
||||||
Author
|
Author
|
||||||
------
|
------
|
||||||
|
@ -21,6 +21,15 @@ OPTIONS
|
|||||||
-------
|
-------
|
||||||
include::pull-fetch-param.txt[]
|
include::pull-fetch-param.txt[]
|
||||||
|
|
||||||
|
\--all::
|
||||||
|
Instead of naming each ref to push, specifies all refs
|
||||||
|
to be pushed.
|
||||||
|
|
||||||
|
-f, \--force::
|
||||||
|
Usually, the command refuses to update a local ref that is
|
||||||
|
not an ancestor of the remote ref used to overwrite it.
|
||||||
|
This flag disables the check. What this means is that the
|
||||||
|
local repository can lose commits; use it with care.
|
||||||
|
|
||||||
Author
|
Author
|
||||||
------
|
------
|
||||||
|
@ -75,13 +75,3 @@ Some short-cut notations are also supported.
|
|||||||
pushing. That is, do not store it locally if
|
pushing. That is, do not store it locally if
|
||||||
fetching, and update the same name if pushing.
|
fetching, and update the same name if pushing.
|
||||||
|
|
||||||
-a, \--append::
|
|
||||||
Append ref names and object names of fetched refs to the
|
|
||||||
existing contents of $GIT_DIR/FETCH_HEAD. Without this
|
|
||||||
option old data in $GIT_DIR/FETCH_HEAD will be overwritten.
|
|
||||||
|
|
||||||
-f, \--force::
|
|
||||||
Usually, the command refuses to update a local ref that is
|
|
||||||
not an ancestor of the remote ref used to overwrite it.
|
|
||||||
This flag disables the check. What this means is that the
|
|
||||||
local repository can lose commits; use it with care.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user