简体   繁体   English

有没有办法使用 go-github 客户端来获取所有或部分包含 git sha 的远程分支?

[英]Is there a way to use go-github client to get all or some of the remote branches that contains a git sha?

编写一个可以基于 git sha 获取分支名称的 go GitHub 客户端。

Last time I checked , there was no easy way to list remote GitHub branches which includes a specific commit, even using GraphQL上次我检查时,即使使用 GraphQL也没有简单的方法来列出包含特定提交的远程 GitHub 分支

So that would not be possible with go-github either.所以这对于go-github也是不可能的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM