mirror of
https://github.com/git/git.git
synced 2024-10-28 12:59:41 +01: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
1 changed files with 2 additions and 2 deletions
|
@ -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