Documentation/gitcredentials.txt: mention password alternatives

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>
This commit is contained in:
M Hickford 2022-11-08 13:01:27 +00:00 committed by Taylor Blau
parent 63bba4fdd8
commit 54e95b4663

View File

@ -17,9 +17,10 @@ DESCRIPTION
Git will sometimes need credentials from the user in order to perform 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 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 in order to access a remote repository over HTTP. Some remotes accept
the mechanisms Git uses to request these credentials, as well as some a personal access token or OAuth access token as a password. This
features to avoid inputting these credentials repeatedly. manual describes the mechanisms Git uses to request these credentials,
as well as some features to avoid inputting these credentials repeatedly.
REQUESTING CREDENTIALS REQUESTING CREDENTIALS
---------------------- ----------------------