From: Lars Berntzon via GitGitGadget Date: Thu, 06 May 2021 16:37:03 GMT Subject: [PATCH] doc: attempt to clarify a blurry sentence. Message-ID: From: Lars Berntzon Signed-off-by: Lars Berntzon --- 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 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 []` without any `` argument is set to -update some ref at the destination with `` with -`remote..push` configuration variable, `:` part can -be omitted--such a push will update a ref that `` normally updates +If `git push []` without any `` argument then +git will update the remote ref as defined by `remote..push` configuration +and it will be updated from HEAD. +`:` part can be omitted--such a push will update a ref that `` normally updates without any `` on the command line. Otherwise, missing `:` means to update the same ref as the ``. + base-commit: 7e391989789db82983665667013a46eabc6fc570 -- gitgitgadget