Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何查看自己在 Github 中提及或回复过的 Issue 记录? #335

Open
toFrankie opened this issue Apr 14, 2024 · 0 comments
Open
Labels
2024 2024 年撰写 生活随笔 一些杂七杂八的文章

Comments

@toFrankie
Copy link
Owner

toFrankie commented Apr 14, 2024

配图源自 Freepik

我们知道,在 Github 主页左侧有个 Recent Activity 的栏目,但它最多显示过去两周内 4 次最近的更新,但要求状态是 open 的。

有时候,我们需要查找自己创建的、评论过的 Issue 或 PR 记录,然而它可能已经 closed 了。

https://github.com/issues

个人主页的 Issues 入口默认的限定条件是:is:open is:issue archived:false author:xxx

翻查 Github 搜索文档可知:

按议题或拉取请求中涉及的用户搜索

可根据 involves 限定符查找以某种方式涉及特定用户的问题,该限定符是 authorassigneementionscommenter 的逻辑或关系。限定条件为 involves@meinvolves:<your-username>(你的 Github 用户名)。

也可组合更多的限定条件达到更精细的查询,比如

  • is:issue involves:toFrankie alfred:与我相关的、标题或正文包含 alfred 的 Issues。
  • is:issue in:title involves:toFrankie alfred:与我相关的、标题包含 alfred 的 Issues。

为了方便,我会用 Alfred 定义一个 Web Search 指令。使用时只要「⌥ + Space」唤起 Alfred 并输入关键词就能快速搜索。比如:

https://github.com/issues?q=is%3Aissue+involves%3AtoFrankie {query}

Refernces

@toFrankie toFrankie added 2024 2024 年撰写 生活随笔 一些杂七杂八的文章 labels Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2024 2024 年撰写 生活随笔 一些杂七杂八的文章
Projects
None yet
Development

No branches or pull requests

1 participant