Skip to content

clone_repository() function not working #425

Closed
@gmpuran

Description

@gmpuran

Example given in the docs for clone repository results in empty repository at mentioned path.

from pygit2 import clone_repository
repo_url = 'git://github.com/libgit2/pygit2.git'
repo_path = '/path/to/create/repository'
repo = clone_repository(repo_url, repo_path) # Clones a non-bare repository

Code execution doesn't yield any errors, any clues?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions