From: "Lars Berntzon via GitGitGadget" <gitgitgadget@gmail.com>
To: git@vger.kernel.org
Cc: Lars Berntzon <lars.berntzon@cecilia-data.se>,
Lars Berntzon <lars.berntzon@external.atlascopco.com>
Subject: [PATCH] doc: attempt to clarify a blurry sentence.
Date: Thu, 06 May 2021 16:37:03 +0000 [thread overview]
Message-ID: <pull.1019.git.git.1620319023972.gitgitgadget@gmail.com> (raw)
From: Lars Berntzon <lars.berntzon@external.atlascopco.com>
Signed-off-by: Lars Berntzon <lars.berntzon@cecilia-data.se>
---
Attempt to clarify a blurry sentence.
Signed-off-by: Lars Berntzon lars.berntzon@cecilia-data.se
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1019%2Flboclboc%2Fmaster-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1019/lboclboc/master-v1
Pull-Request: https://github.com/git/git/pull/1019
Documentation/git-push.txt | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index a953c7c38790..bbb30c52395e 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -66,10 +66,10 @@ it can be any arbitrary "SHA-1 expression", such as `master~4` or
The <dst> tells which ref on the remote side is updated with this
push. Arbitrary expressions cannot be used here, an actual ref must
be named.
-If `git push [<repository>]` without any `<refspec>` argument is set to
-update some ref at the destination with `<src>` with
-`remote.<repository>.push` configuration variable, `:<dst>` part can
-be omitted--such a push will update a ref that `<src>` normally updates
+If `git push [<repository>]` without any `<refspec>` argument then
+git will update the remote ref as defined by `remote.<repository>.push` configuration
+and it will be updated from HEAD.
+`:<dst>` part can be omitted--such a push will update a ref that `<src>` normally updates
without any `<refspec>` on the command line. Otherwise, missing
`:<dst>` means to update the same ref as the `<src>`.
+
base-commit: 7e391989789db82983665667013a46eabc6fc570
--
gitgitgadget
next reply other threads:[~2021-05-06 16:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-06 16:37 Lars Berntzon via GitGitGadget [this message]
2021-05-06 22:03 ` [PATCH] doc: attempt to clarify a blurry sentence Junio C Hamano
2021-05-07 8:35 ` Lars Berntzon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=pull.1019.git.git.1620319023972.gitgitgadget@gmail.com \
--to=gitgitgadget@gmail.com \
--cc=git@vger.kernel.org \
--cc=lars.berntzon@cecilia-data.se \
--cc=lars.berntzon@external.atlascopco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.