Subject: [PATCH v3] doc: gitcredentials: link to helper list

From: "M Hickford via GitGitGadget" <[email-masked]>
Date: Sat, 08 Jul 2023 20:36:54 +0000

From: M Hickford <[email-masked]>

Link to community list of credential helpers. This is useful information
for users.

Describe how OAuth credential helpers work. OAuth is a user-friendly
alternative to personal access tokens and SSH keys. Reduced setup cost
makes it easier for users to contribute to projects across multiple
forges.

Signed-off-by: M Hickford <[email-masked]>
---
    gitcredentials: link to list of helpers
    
    Add link to list of helpers

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1538%2Fhickford%2Fhelpers-v3
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1538/hickford/helpers-v3
Pull-Request: https://github.com/gitgitgadget/git/pull/1538

Range-diff vs v2:

 1:  26818290468 ! 1:  a6265156eed doc: gitcredentials: link to helper list
     @@ Documentation/gitcredentials.txt: $ git help credential-foo
       
      +=== Available helpers
      +
     -+The community maintains a comprehensive
     -+https://git-scm.com/doc/credential-helpers[list of Git credential helpers]
     -+available.
     ++The community maintains a comprehensive list of Git credential helpers at
     ++https://git-scm.com/doc/credential-helpers.
      +
      +=== OAuth
      +

 Documentation/gitcredentials.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/gitcredentials.txt b/Documentation/gitcredentials.txt
index 65d652dc40e..71dd19731af 100644
--- a/Documentation/gitcredentials.txt
+++ b/Documentation/gitcredentials.txt
@@ -104,6 +104,17 @@ $ git help credential-foo
 $ git config --global credential.helper foo
 -------------------------------------------
 
+=== Available helpers
+
+The community maintains a comprehensive list of Git credential helpers at
+https://git-scm.com/doc/credential-helpers.
+
+=== OAuth
+
+An alternative to inputting passwords or personal access tokens is to use an
+OAuth credential helper. Initial authentication opens a browser window to the
+host. Subsequent authentication happens in the background. Many popular Git
+hosts support OAuth.
 
 CREDENTIAL CONTEXTS
 -------------------

base-commit: 061c58647eb4b3f0e2c898333577d4b2af115b1d
-- 
gitgitgadget