Difference between revisions of "Gh auth login"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
  ✓ Authentication complete. Press Enter to continue...
 
  ✓ Authentication complete. Press Enter to continue...
 
   
 
   
  - gh config set -h github.com git_protocol ssh
+
  - [[gh config set]] -h github.com git_protocol ssh
 
  ✓ Configured git protocol
 
  ✓ Configured git protocol
 
  HTTP 422: Validation Failed (https://api.github.com/user/keys)
 
  HTTP 422: Validation Failed (https://api.github.com/user/keys)

Revision as of 09:23, 19 January 2023

gh auth login
? What account do you want to log into?  [Use arrows to move, type to filter]
> GitHub.com
  GitHub Enterprise Server

> HTTPS
  SSH

! First copy your one-time code: 8A0V-XXYY
- Press Enter to open github.com in your browser...
✓ Authentication complete. Press Enter to continue...

- gh config set -h github.com git_protocol ssh
✓ Configured git protocol
HTTP 422: Validation Failed (https://api.github.com/user/keys)
key is already in use

Related

See also

Advertising: