You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to work out how to use pygit2 to clone a remote repo using a proxy, i'm looking at some of the examples and I need to define a username/password which is fine but I can't work out how to use the proxy setting as well.
I'm referencing the following articles, but going around in circles
Hey,
I'm trying to work out how to use pygit2 to clone a remote repo using a proxy, i'm looking at some of the examples and I need to define a username/password which is fine but I can't work out how to use the proxy setting as well.
I'm referencing the following articles, but going around in circles
This one for user/pass
https://www.pygit2.org/recipes/git-clone-ssh.html
This one for remotes
https://www.pygit2.org/recipes/git-clone-mirror.html
and in the doco these bits
https://www.pygit2.org/remotes.html#pygit2.Remote.connect
https://www.pygit2.org/repository.html#pygit2.clone_repository
So this is 1 asking for guidance, but also a "recipe" for how to do this for future users.
The text was updated successfully, but these errors were encountered: