Skip to content

Commit 69274b6

Browse files
Anders Melchiorsengitster
authored andcommitted
Documentation: avoid using undefined parameters
The <ref> parameter has not been introduced, so rewrite to avoid it. Signed-off-by: Anders Melchiorsen <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 89edd5a commit 69274b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-push.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ even if it does not result in a fast forward update.
5050
+
5151
`tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`.
5252
+
53-
A parameter <ref> without a colon pushes the <ref> from the source
54-
repository to the destination repository under the same name.
53+
A lonely <src> parameter (without a colon and a destination) pushes
54+
the <src> to the same name in the destination repository.
5555
+
5656
Pushing an empty <src> allows you to delete the <dst> ref from
5757
the remote repository.

0 commit comments

Comments
 (0)