-
Notifications
You must be signed in to change notification settings - Fork 65.7k
Update working-with-ssh-key-passphrases.md #22822
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
Conversation
Added clearer directions to locating `~/.profile` or `~/.bashrc` file for windows users.
|
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
Automatically generated comment ℹ️This comment is automatically generated and will be overwritten every time changes are committed to this branch. The table contains an overview of files in the Content directory changesYou may find it useful to copy this table into the pull request summary. There you can edit it to share links to important articles or changes and to give a high-level overview of how the changes in your pull request support the overall goals of the pull request.
fpt: Free, Pro, Team |
|
@victoremeka - Thank you for opening a PR and linking it to your issue! ✨ I'll get this triaged for review! ⚡ |
|
Thanks for opening a pull request! We've triaged this issue for technical review by a subject matter expert 👀 |
| ## Auto-launching `ssh-agent` on Git for Windows | ||
|
|
||
| You can run `ssh-agent` automatically when you open bash or Git shell. Copy the following lines and paste them into your `~/.profile` or `~/.bashrc` file in Git shell: | ||
| You can run `ssh-agent` automatically when you open bash or Git shell. Copy the following lines and paste them into the `~/.profile` or `~/.bashrc` file found in your `~/git/etc` folder: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropping "Git shell" from this text only makes sense if you forget about all Windows-based users: Outside of the Git Bash (i.e. in a CMD or a PowerShell), ~/.profile does not make any sense on Windows.
So I would strongly advise against accepting this change as-is.
|
@victoremeka my assessment from #22822 (comment) still stands: I strongly advise to revise the patch so that it does not forget about literally all Windows users. |
|
I'm going to go ahead and close this PR out 💛 If you'd like to adjust the PR per the suggestion above to include Windows users, please do so and submit a new PR. Thank you for your interest in improving GitHub Docs! 💖 |
Added clearer directions to locating
~/.profileor~/.bashrcfile for windows users.Why:
Closes ISSUE
What's being changed:
Line 43 in the
content/authentication/connecting-to-github-with-ssh/working-with-ssh-key-passphrases.mdfile.Check off the following: