git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] doc: attempt to clarify a blurry sentence.

From
LGLars Berntzon via GitGitGadget <gitgitgadget@gmail.com>
Date
May 6, 2021, 16:37 UTC
Message-ID
<pull.1019.git.git.1620319023972.gitgitgadget@gmail.com>
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: Junio C Hamano
Message 1 of 3 in “doc: attempt to clarify a blurry sentence.”
  1. doc: attempt to clarify a blurry sentence.Lars Berntzon via GitGitGadget, May 6, 2021
  2. Junio C HamanoMay 6, 2021
  3. Lars BerntzonMay 7, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.