mirror of
https://github.com/git/git.git
synced 2025-01-19 22:13:32 +08:00
push doc: move mention of "tag <tag>" later in the prose
This change will be followed-up with a subsequent change where I'll change both sides of this mention of "tag <tag>" to be something that's best read without interruption. To make that change smaller, let's move this mention of "tag <tag>" to the end of the "<refspec>..." section, it's now somewhere in the middle. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
d931455acf
commit
8da6128c26
@ -80,8 +80,6 @@ a tag (annotated or lightweight), and then only if it can fast-forward
|
||||
the <dst> ref even if it is not allowed by default (e.g., it is not a
|
||||
fast-forward.).
|
||||
+
|
||||
`tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`.
|
||||
+
|
||||
Pushing an empty <src> allows you to delete the <dst> ref from
|
||||
the remote repository.
|
||||
+
|
||||
@ -89,6 +87,8 @@ The special refspec `:` (or `+:` to allow non-fast-forward updates)
|
||||
directs Git to push "matching" branches: for every branch that exists on
|
||||
the local side, the remote side is updated if a branch of the same name
|
||||
already exists on the remote side.
|
||||
+
|
||||
`tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`.
|
||||
|
||||
--all::
|
||||
Push all branches (i.e. refs under `refs/heads/`); cannot be
|
||||
|
Loading…
Reference in New Issue
Block a user