如何通过ssh-transport-protocol使用libgit2sharp? [英] How to use libgit2sharp with ssh-transport-protocol?
问题描述
当我在项目中使用libgit2sharp来用ssh-transport协议克隆版本库时,比如
git@github.com:libgit2 /libgit2sharp.git
它会抛出一个异常,表示此传输未实现,很抱歉
如何通过使用libgit2sharp克隆使用ssh-transport-protocol存储库?
http [s]://
协议。 然而,它最终将通过利用libssh2库。
订阅 issue#255 通知会让您更新有关此功能的进度。
更新:
在libgit2中有一项工作正在进行中(请参阅 PR#2428 ),这可以帮助我们使LibGit2Sharp能够尽早处理ssh协议。
更新2:
PR#852 正致力于让LibGit2Sharp获得ssh。
When I use libgit2sharp in project to clone repository with ssh-transport protocol, like
git@github.com:libgit2/libgit2sharp.git
It throw an exception, says "This transport isn't implemented. Sorry"
How can I clone repository with ssh-transport-protocol by using libgit2sharp ?
Unfortunately, Ssh protocol is not supported yet. At this time only git://
(read-only) and http[s]://
protocols are.
However, it will eventually be, by leveraging the libssh2 library.
Subscribing to issue #255 notifications will keep you updated about the progress made regarding this feature.
Update:
There's a work in progress in libgit2 (see PR #2428) that should help us make LibGit2Sharp able to cope with the ssh protocol sooner rather than later.
Update 2:
PR #852 is working on making ssh available to LibGit2Sharp
这篇关于如何通过ssh-transport-protocol使用libgit2sharp?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!