Skip to content
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 proxy option to clone_repository #1354

Merged
merged 2 commits into from
Mar 6, 2025
Merged

Conversation

sathieu
Copy link
Contributor

@sathieu sathieu commented Mar 6, 2025

Fixes: #1328

from pygit2 import clone_repository


url = "https://github.com/libgit2/TestGitRepository"
dest = "TestGitRepository"
main_branch = "master"

repo = clone_repository(url, dest, proxy=True)

Partially reverts 84310f3
@jdavid jdavid merged commit db587ad into libgit2:master Mar 6, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add in doco examples for how to clone a remote repo using a proxy
2 participants