docs icon indicating copy to clipboard operation
docs copied to clipboard

Substitute arbitrary username examples with built-in system environment variables

Open loonaticx opened this issue 1 year ago • 3 comments
trafficstars

Code of Conduct

What article on docs.github.com is affected?

https://github.com/github/docs/blob/main/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md

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

The guide provides an arbitrary username when it could instead refer to a built-in system variable that asserts the correct path required. %USERPROFILE% will point to the current users profile, whereas C:\Users\YOU\ is far less sufficient to use from the end-user trying to read and troubleshoot their issue with the article.

The most prominent example that needs to be changed is here, in which the user would need to make extraneous modifications to the command before running it. By replacing arbitrary username placeholders with built-in system environment variables as substitutes, it will slightly improve the convenience of the end-user following the instructions in the article. It makes it much faster to troubleshoot problems

Additional information

No response

loonaticx avatar Jan 07 '24 06:01 loonaticx

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.

welcome[bot] avatar Jan 07 '24 06:01 welcome[bot]

@loonaticx Thank you for opening an issue and linking it to your PR! ✨

nguyenalex836 avatar Jan 08 '24 17:01 nguyenalex836

Dont know how to solve this

uzairhassan375 avatar Jan 23 '24 17:01 uzairhassan375

Closing this issue - linked PR has been closed for inactivity 💛

nguyenalex836 avatar Mar 07 '24 21:03 nguyenalex836