mirror of
https://github.com/git/git
synced 2024-08-25 10:45:59 +00:00
Documentation: avoid using undefined parameters
The <ref> parameter has not been introduced, so rewrite to avoid it. Signed-off-by: Anders Melchiorsen <mail@cup.kalibalik.dk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
89edd5a901
commit
69274b6e87
|
@ -50,8 +50,8 @@ even if it does not result in a fast forward update.
|
||||||
+
|
+
|
||||||
`tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`.
|
`tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`.
|
||||||
+
|
+
|
||||||
A parameter <ref> without a colon pushes the <ref> from the source
|
A lonely <src> parameter (without a colon and a destination) pushes
|
||||||
repository to the destination repository under the same name.
|
the <src> to the same name in the destination repository.
|
||||||
+
|
+
|
||||||
Pushing an empty <src> allows you to delete the <dst> ref from
|
Pushing an empty <src> allows you to delete the <dst> ref from
|
||||||
the remote repository.
|
the remote repository.
|
||||||
|
|
Loading…
Reference in a new issue