Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update gh CLI steps in "Adding a new SSH key to your GitHub account" #11721

Closed
1 task done
michelleN opened this issue Nov 5, 2021 · 1 comment
Closed
1 task done

update gh CLI steps in "Adding a new SSH key to your GitHub account" #11721

michelleN opened this issue Nov 5, 2021 · 1 comment
Labels

Comments

Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants
@michelleN @ramyaparimi and others
@michelleN
Copy link
Contributor

@michelleN michelleN commented Nov 5, 2021

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account

What part(s) of the article would you like to see updated?

I installed the gh CLI to add my ssh-key but was presented with this instead of a success message:

Welcome to GitHub CLI!

To authenticate, please run `gh auth login`

When I ran gh auth login, it prompted me to choose my preferred protocol and add my public key. Thus, I no longer needed the rest of the steps to add my ssh key with gh. If gh had already been authenticated, I would need the steps displayed. I think this nuance should be documented so people who are new to gh CLI are not confused and know they do not need to use the original gh steps by going down this path.

Additional information

No response

@welcome
Copy link

@welcome welcome bot commented Nov 5, 2021

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment