Skip to content

Commit 8da6128

Browse files
avargitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d931455 commit 8da6128

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
@@ -80,15 +80,15 @@ a tag (annotated or lightweight), and then only if it can fast-forward
8080
the <dst> ref even if it is not allowed by default (e.g., it is not a
8181
fast-forward.).
8282
+
83-
`tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`.
84-
+
8583
Pushing an empty <src> allows you to delete the <dst> ref from
8684
the remote repository.
8785
+
8886
The special refspec `:` (or `+:` to allow non-fast-forward updates)
8987
directs Git to push "matching" branches: for every branch that exists on
9088
the local side, the remote side is updated if a branch of the same name
9189
already exists on the remote side.
90+
+
91+
`tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`.
9292

9393
--all::
9494
Push all branches (i.e. refs under `refs/heads/`); cannot be

0 commit comments

Comments
 (0)