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>
Junio C Hamano committed
Oct 19, 2005 at 21:25 UTC
d6a73596e766b934e25182e7cdd8e6c2dbcc671e
4 files changed
+18
-10
Documentation/git-fetch.txt
+5
@@ -25,6 +25,11 @@ OPTIONS
25
-------
26
include::pull-fetch-param.txt[]
27
28
+-a, \--append::
29
+ Append ref names and object names of fetched refs to the
30
+ existing contents of $GIT_DIR/FETCH_HEAD. Without this
31
+ option old data in $GIT_DIR/FETCH_HEAD will be overwritten.
32
+
33
-u, \--update-head-ok::
34
By default 'git-fetch' refuses to update the head which
35
corresponds to the current branch. This flag disables the
Documentation/git-pull.txt
+4
@@ -24,6 +24,10 @@ OPTIONS
24
-------
25
include::pull-fetch-param.txt[]
26
27
+-a, \--append::
28
+ Append ref names and object names of fetched refs to the
29
+ existing contents of $GIT_DIR/FETCH_HEAD. Without this
30
+ option old data in $GIT_DIR/FETCH_HEAD will be overwritten.
31
32
Author
33
------
Documentation/git-push.txt
+9
@@ -21,6 +21,15 @@ OPTIONS
21
-------
22
include::pull-fetch-param.txt[]
23
24
+\--all::
25
+ Instead of naming each ref to push, specifies all refs
26
+ to be pushed.
27
+
28
+-f, \--force::
29
+ Usually, the command refuses to update a local ref that is
30
+ not an ancestor of the remote ref used to overwrite it.
31
+ This flag disables the check. What this means is that the
32
+ local repository can lose commits; use it with care.
33
34
Author
35
------
Documentation/pull-fetch-param.txt
-10
@@ -75,13 +75,3 @@ Some short-cut notations are also supported.
75
pushing. That is, do not store it locally if
76
fetching, and update the same name if pushing.
77
78
--a, \--append::
79
- Append ref names and object names of fetched refs to the
80
- existing contents of $GIT_DIR/FETCH_HEAD. Without this
81
- option old data in $GIT_DIR/FETCH_HEAD will be overwritten.
82
-
83
--f, \--force::
84
- Usually, the command refuses to update a local ref that is
85
- not an ancestor of the remote ref used to overwrite it.
86
- This flag disables the check. What this means is that the
87
- local repository can lose commits; use it with care.