]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation/gitcredentials.txt: mention password alternatives
authorM Hickford <mirth.hickford@gmail.com>
Tue, 8 Nov 2022 13:01:27 +0000 (13:01 +0000)
committerTaylor Blau <me@ttaylorr.com>
Tue, 8 Nov 2022 21:46:54 +0000 (16:46 -0500)
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>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Documentation/gitcredentials.txt

index 80517b4eb2cb259d7b99528902e3192db2f4166d..6df50e8a144f29af1139a7180096055e1b45c37b 100644 (file)
@@ -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
 ----------------------