使用LibGit2Sharp库,我试图在回购的主分支上列出拉请求的所有作者。我在文档、intellisense或搜索中没有看到有这样一个例子的任何东西。有什么建议吗??我已经构造了下面的代码,但是我得到了下面的错误消息An unhandled exception of type 'LibGit2Sharp.RepositoryNotFoundException' occurred in LibGit2Sharp.dll。在浏览时,我发现的引用似乎是本地克隆的repos,而不是远程存储库。 {
/bin/bash# This hook restricts changes on the default branch to those made with the GUI PullRequestMerge button, or the PullRequestMerge API.DEFAULT_BRANCH=$(git symbolic-ref HEAD)
while read -r= 'pullrequest