-
Notifications
You must be signed in to change notification settings - Fork 2.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
Can't add private git repo #4152
Comments
Hello @brno32 , I guess the problem here is, that the git checkout fails because of missing credentials. Instead of using fin swimmer |
Or maybe it's a duplicate of #3366 ? |
I confirmed the same issue and it happened with a public repository.
The reason was that my SSH key was not loaded to the agent ( I figured this out by running the given The proper fix would be to show full error log output from |
I cannot confirm that But:
|
@finswimmer, no this repository has a master branch. |
Does #5428 make things work for this? |
@abn @finswimmer I've tried both poetry from latest master and 1.1.13 and I have troubles with private repos. |
@fredrikaverpil I can add prviate repos fine using master. I wonder if this issue has to do with how your ssh keys are handled? |
Nothing special. If it's a new key, make sure its added to the ssh-agent. Feel free to ping on discord. |
Closing this for now, please re-open if version on master does not work for any specific case. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).Windows 10:
1.1.6:
Issue
When running
poetry add git+/~https://github.com/owner/repo-name.git
, I get the following error:This repository is private. Running with
-vvv
doesn't show much else:The text was updated successfully, but these errors were encountered: