git - 寻找一种方法来克隆 github 项目的问题

标签 git github

我希望能够使用 git 克隆 github 上各种项目的问题。我知道我可以克隆代码和 wiki(如果存在的话)。我找不到克隆问题的方法。

作为一个可行的例子,下面是我将如何克隆包含项目源代码的主存储库: git clone https://github.com/kiwix/kiwix-android.git

这适用于该项目的维基页面: git clone https://github.com/kiwix/kiwix-android.wiki.git

我已经尝试了以下方法以查看它是否适用于这些问题,但它没有

git clone https://github.com/kiwix/kiwix-android.issues.git
Cloning into 'kiwix-android.issues'...
remote: Repository not found.
fatal: repository 'https://github.com/kiwix/kiwix-android.issues.git/' not found

能够克隆这些问题会有很大的帮助,特别是运行脚本来分析各种问题的问题集等。

最佳答案

感谢@madhu-bhat的建议我阅读了 GitHub's v3 API 上的文档并发现了诸如

之类的示例

curl -i "https://api.github.com/repos/vmg/redcarpet/issues?state=closed"

然后我对其进行了修改以获得我们其中一个项目的未决问题:

curl -i "https://api.github.com/repos/kiwix/kiwix-android/issues?state=open"

这种方法可以满足我的需要,并允许我按状态等进行过滤。为 StackOverflow +1。

关于git - 寻找一种方法来克隆 github 项目的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56437562/

相关文章:

git - 为什么 git add -p 中缺少拆分选项?

Git 专门列出一个分支的 stash

ios - Github API 返回发布数组的空 Assets

azure - github操作不使用azure中的正确spn来执行terraform

macos - 使用 wget 从 github 下载整个文件夹

macos - Mac 上的 Github 桌面,错误 : cannot run gpg: No such file or directory

git - 无法将 master 推送到 Github - 'origin' 似乎不是 git 存储库/权限被拒绝

git - 在 Git 中执行 'remote update' 之前是否需要 'pull'

ubuntu - 在 Ubuntu 上的/var 目录中使用 ssh key

git - Git 存储库是否可以并发操作?