From: "M Hickford via GitGitGadget" <gitgitgadget@gmail.com>
To: git@vger.kernel.org
Cc: "Jeff King" <peff@peff.net>,
"Ævar Arnfjörð Bjarmason" <avarab@gmail.com>,
"Eric Sunshine" <sunshine@sunshineco.com>,
"Philip Oakley" <philipoakley@iee.email>,
"M Hickford" <mirth.hickford@gmail.com>,
"M Hickford" <mirth.hickford@gmail.com>
Subject: [PATCH v3] Mention that password could be a personal access token.
Date: Tue, 08 Nov 2022 13:01:27 +0000 [thread overview]
Message-ID: <pull.1396.v3.git.1667912487608.gitgitgadget@gmail.com> (raw)
In-Reply-To: <pull.1396.v2.git.1667385022103.gitgitgadget@gmail.com>
From: M Hickford <mirth.hickford@gmail.com>
Git asks for a "password", but the user might use a
personal access token or OAuth access token instead.
Example:
Password for 'https://AzureDiamond@github.com':
Signed-off-by: M Hickford <mirth.hickford@gmail.com>
---
Mention that password could be a personal access token.
These days, the 'password' for a software forge might be personal access
token or OAuth access token.
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1396%2Fhickford%2Fmore-about-credentials-v3
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1396/hickford/more-about-credentials-v3
Pull-Request: https://github.com/gitgitgadget/git/pull/1396
Range-diff vs v2:
1: 0bb69988ad7 ! 1: 7be4a631aca Mention that password could be a personal access token.
@@ Metadata
## Commit message ##
Mention that password could be a personal access token.
- These days, the 'password' for a software forge might be personal access
- token or OAuth access token. These are popular, so worth clarifying that
- Git treats them just the same.
+ Git asks for a "password", but the user might use a
+ personal access token or OAuth access token instead.
+
+ Example:
+
+ Password for 'https://AzureDiamond@github.com':
Signed-off-by: M Hickford <mirth.hickford@gmail.com>
## Documentation/gitcredentials.txt ##
-@@ Documentation/gitcredentials.txt: in order to access a remote repository over HTTP. This manual describes
- the mechanisms Git uses to request these credentials, as well as some
- features to avoid inputting these credentials repeatedly.
+@@ Documentation/gitcredentials.txt: DESCRIPTION
+
+ Git will sometimes need credentials from the user in order to perform
+ operations; for example, it may need to ask for a username and password
+-in order to access a remote repository over HTTP. This manual describes
+-the mechanisms Git uses to request these credentials, as well as some
+-features to avoid inputting these credentials repeatedly.
++in order to access a remote repository over HTTP. Some remotes accept
++a personal access token or OAuth access token as a password. This
++manual describes the mechanisms Git uses to request these credentials,
++as well as some features to avoid inputting these credentials repeatedly.
-+Some repositories accept multiple passwords, including personal access
-+tokens and OAuth access tokens. Git handles all of these the same.
-+
REQUESTING CREDENTIALS
----------------------
-
Documentation/gitcredentials.txt | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Documentation/gitcredentials.txt b/Documentation/gitcredentials.txt
index 80517b4eb2c..6df50e8a144 100644
--- a/Documentation/gitcredentials.txt
+++ b/Documentation/gitcredentials.txt
@@ -17,9 +17,10 @@ DESCRIPTION
Git will sometimes need credentials from the user in order to perform
operations; for example, it may need to ask for a username and password
-in order to access a remote repository over HTTP. This manual describes
-the mechanisms Git uses to request these credentials, as well as some
-features to avoid inputting these credentials repeatedly.
+in order to access a remote repository over HTTP. Some remotes accept
+a personal access token or OAuth access token as a password. This
+manual describes the mechanisms Git uses to request these credentials,
+as well as some features to avoid inputting these credentials repeatedly.
REQUESTING CREDENTIALS
----------------------
base-commit: 3b08839926fcc7cc48cf4c759737c1a71af430c1
--
gitgitgadget
next prev parent reply other threads:[~2022-11-08 13:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-27 4:45 [PATCH] Mention that password could be a personal access token M Hickford via GitGitGadget
2022-10-27 17:40 ` Junio C Hamano
2022-10-27 20:21 ` Jeff King
2022-10-27 21:48 ` Junio C Hamano
2022-11-01 3:54 ` M Hickford
2022-11-01 7:58 ` Ævar Arnfjörð Bjarmason
2022-11-01 10:27 ` M Hickford
2022-11-02 10:30 ` [PATCH v2] " M Hickford via GitGitGadget
2022-11-02 10:54 ` Eric Sunshine
2022-11-02 15:44 ` Junio C Hamano
2022-11-02 15:51 ` Eric Sunshine
2022-11-02 17:30 ` Philip Oakley
2022-11-08 12:11 ` M Hickford
2022-11-08 13:01 ` M Hickford via GitGitGadget [this message]
2022-11-08 21:48 ` [PATCH v3] " Taylor Blau
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=pull.1396.v3.git.1667912487608.gitgitgadget@gmail.com \
--to=gitgitgadget@gmail.com \
--cc=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=mirth.hickford@gmail.com \
--cc=peff@peff.net \
--cc=philipoakley@iee.email \
--cc=sunshine@sunshineco.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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).