Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2018-08-31 23:10:01 +0300
committerJunio C Hamano <gitster@pobox.com>2018-09-01 00:04:06 +0300
commit8da6128c264c7896c011b5e3e0eace57eb073f63 (patch)
tree29c7856aaf152f7eb74ae1ac100d586f9b2545f5 /Documentation/git-push.txt
parentd931455acf1cf1a21a4f10fd99fc2bd9bbefa7a9 (diff)
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>
Diffstat (limited to 'Documentation/git-push.txt')
-rw-r--r--Documentation/git-push.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index 83e499ee97..71c78ac1a4 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -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