【发布时间】:2019-01-25 14:03:45
【问题描述】:
我想从 GitHub 获取我的私有存储库列表。在 GitHub REST API 文档中,它声明 the visibility as private can be supplied as parameter。但我不知道该怎么做。
我可以在命令行中使用以下命令获取我的公共存储库列表
curl -u "username:password" -X GET https://mygithuburl.com/users/username/repos
如何将visibility 参数提供给private 以获取仅包含私有存储库的列表?
【问题讨论】: