Skip to content

Add proxy option to clone_repository#1354

Merged
jdavid merged 2 commits intolibgit2:masterfrom
sathieu:git_clone-proxy
Mar 6, 2025
Merged

Add proxy option to clone_repository#1354
jdavid merged 2 commits intolibgit2:masterfrom
sathieu:git_clone-proxy

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