Skip to content

Commit 0fb32aa

Browse files
committed
docs: update docs for new GitHub auth modes
Update documentation to include the new `browser` and `device` authentication modes for GitHub. The old `oauth` value expands to both `browser, device` for compatibility.
1 parent 101889f commit 0fb32aa

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/configuration.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,9 @@ If this option is not set, then the available authentication modes will be autom
185185
Value|Authentication Mode
186186
-|-
187187
_(unset)_|Automatically detect modes
188-
`oauth`|OAuth-based authentication
188+
`oauth`|Expands to: `browser, device`
189+
`browser`|OAuth authentication via a web browser _(requires a GUI)_
190+
`device`|OAuth authentication with a device code
189191
`basic`|Basic/PAT-based authentication
190192

191193
#### Example

docs/environment.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,9 @@ If this option is not set, then the available authentication modes will be autom
324324
Value|Authentication Mode
325325
-|-
326326
_(unset)_|Automatically detect modes
327-
`oauth`|OAuth-based authentication
327+
`oauth`|Expands to: `browser, device`
328+
`browser`|OAuth authentication via a web browser _(requires a GUI)_
329+
`device`|OAuth authentication with a device code
328330
`basic`|Basic/PAT-based authentication
329331

330332
##### Windows

0 commit comments

Comments
 (0)