Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: remove a redundant elaboration
author
Anders Melchiorsen
<mail@cup.kalibalik.dk>
Sun, 18 Jan 2009 14:36:56 +0000
(15:36 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 18 Jan 2009 22:27:03 +0000
(14:27 -0800)
The comment in parentheses is wrong, as one has to leave out both the
colon and <dst>. This situation is covered by the section a few lines
down:
A parameter <ref> without a colon pushes the <ref> from the source
repository to the destination repository under the same name.
So, just remove the parentheses.
Signed-off-by: Anders Melchiorsen <mail@cup.kalibalik.dk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-push.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
98347fe
)
diff --git
a/Documentation/git-push.txt
b/Documentation/git-push.txt
index 8bfa7cb7e5dbd878ad244db4fabf1e899cb61a2a..6d3c711de6cfa07e2368249d9e37611fc4d761e6 100644
(file)
--- a/
Documentation/git-push.txt
+++ b/
Documentation/git-push.txt
@@
-44,8
+44,7
@@
tip of `master` branch); see linkgit:git-rev-parse[1]) that you
want to push. The <dst> side represents the destination location.
+
The local ref that matches <src> is used
-to fast forward the remote ref that matches <dst> (or, if no <dst> was
-specified, the same ref that <src> referred to locally). If
+to fast forward the remote ref that matches <dst>. If
the optional leading plus `+` is used, the remote ref is updated
even if it does not result in a fast forward update.
+