libgit2 / libgit2sharp

Git + .NET = ❤
http://libgit2.github.com
MIT License
3.13k stars 879 forks source link

How can I create a Repository Instance via ssh? #1962

Closed SongOfYouth closed 2 years ago

SongOfYouth commented 2 years ago

Reproduction steps

Expected behavior

I want do some statistics with my git project, but I dot want to clone it.Is there a way for this?

Actual behavior

Must clone and set the path.

Version of LibGit2Sharp (release number or SHA1)

Operating system(s) tested; .NET runtime tested

ethomson commented 2 years ago

I want do some statistics with my git project, but I dot want to clone it.Is there a way for this?

Not with this project. If you want to interact with the remote host for your git repository - like GitHub, Bitbucket or GitLab, then you'll need to use their APIs.