-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add SSH username to Git over SSH documentation example #11838
Comments
Why? Where does this requirement come from? As far as I can tell, this is not necessary. In the SSH configuration it is possible to associate a host name with a user name. Maybe the documentation could show an example for both with and without a user name. And maybe also with and without password or would that be seen as (inadvertently) encouraging a bad practice? |
This can be found in the issue.
Expectations and prerequisites should be documented.
Commands should be usable with the default configuration.
Stick to the defaults. Advanced use cases should be handled by users themselves. |
Right. Motivated like this, it seems to make much more sense than I initially thought. I agree. |
Description
The documentation at https://pip.pypa.io/en/stable/topics/vcs-support/#git contains the following example:
However, the line should contain a username:
Expected behavior
No response
pip version
21.2.4
Python version
3.9.6
OS
macOS 12.5
How to Reproduce
pip3 install 'MyProject @ git+ssh://git.example.com/MyProject'
(without username)Output
Without username:
Code of Conduct
The text was updated successfully, but these errors were encountered: