Skip to content

Commit 391d186

Browse files
Anders Melchiorsengitster
authored andcommitted
Documentation: remove a redundant elaboration
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 98347fe commit 391d186

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Documentation/git-push.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ tip of `master` branch); see linkgit:git-rev-parse[1]) that you
4444
want to push. The <dst> side represents the destination location.
4545
+
4646
The local ref that matches <src> is used
47-
to fast forward the remote ref that matches <dst> (or, if no <dst> was
48-
specified, the same ref that <src> referred to locally). If
47+
to fast forward the remote ref that matches <dst>. If
4948
the optional leading plus `+` is used, the remote ref is updated
5049
even if it does not result in a fast forward update.
5150
+

0 commit comments

Comments
 (0)