doc: update docs/github.md 9db13825c5

This commit is contained in:
jaywcjlove
2024-04-13 06:28:51 +00:00
parent 7f5b2d724e
commit e5a3b59fb4
4 changed files with 206 additions and 149 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -33,7 +33,7 @@
<p>Github.com 上 80 个键盘快捷键和一些搜索技巧的备忘清单</p> <p>Github.com 上 80 个键盘快捷键和一些搜索技巧的备忘清单</p>
</div></header><div class="menu-tocs"><div class="menu-btn"><svg aria-hidden="true" fill="currentColor" height="1em" width="1em" viewBox="0 0 16 16" version="1.1" data-view-component="true"> </div></header><div class="menu-tocs"><div class="menu-btn"><svg aria-hidden="true" fill="currentColor" height="1em" width="1em" viewBox="0 0 16 16" version="1.1" data-view-component="true">
<path fill-rule="evenodd" d="M2 4a1 1 0 100-2 1 1 0 000 2zm3.75-1.5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zm0 5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zm0 5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zM3 8a1 1 0 11-2 0 1 1 0 012 0zm-1 6a1 1 0 100-2 1 1 0 000 2z"></path> <path fill-rule="evenodd" d="M2 4a1 1 0 100-2 1 1 0 000 2zm3.75-1.5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zm0 5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zm0 5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zM3 8a1 1 0 11-2 0 1 1 0 012 0zm-1 6a1 1 0 100-2 1 1 0 000 2z"></path>
</svg></div><div class="menu-modal"><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#键盘快捷键">键盘快捷键</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#站点范围的快捷方式">站点范围的快捷方式</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#资料库">资料库</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#源代码编辑">代码编辑</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#源码浏览">码浏览</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#注释">注释</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#问题和拉取请求列表">问题和拉取请求列表</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#问题和拉取请求">问题和拉取请求</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#拉取请求的变化">拉取请求的变化</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#项目板">项目板</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#通知">通知</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#网络图">网络图</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#搜索技巧">搜索技巧</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#范围搜索">范围搜索</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#文件路径">文件路径</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#完全符合">完全符合</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#布尔运算符">布尔运算符</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#基于仓库的条件">基于仓库的条件</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#基于-issue-的条件">基于 issue 的条件</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#基于用户的条件">基于用户的条件</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#另见">另见</a></div></div><div class="h1wrap-body"><div class="wrap h2body-exist"><div class="wrap-header h2wrap"><h2 id="键盘快捷键"><a aria-hidden="true" tabindex="-1" href="#键盘快捷键"><span class="icon icon-link"></span></a>键盘快捷键</h2><div class="wrap-body"> </svg></div><div class="menu-modal"><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#键盘快捷键">键盘快捷键</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#站点范围的快捷方式">站点范围的快捷方式</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#资料库">资料库</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#源码浏览">码浏览</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#源代码编辑">代码编辑</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#注释">注释</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#项目板">项目板</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#问题和拉取请求列表">问题和拉取请求列表</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#问题和拉取请求">问题和拉取请求</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#通知">通知</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#拉取请求的变化">拉取请求的变化</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#网络图">网络图</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#搜索技巧">搜索技巧</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#范围搜索">范围搜索</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#文件路径">文件路径</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#完全符合">完全符合</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#布尔运算符">布尔运算符</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#基于仓库的条件">基于仓库的条件</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#基于-issue-的条件">基于 issue 的条件</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#基于用户的条件">基于用户的条件</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#symbol-限定符">Symbol 限定符</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#使用布尔运算">使用布尔运算</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#is-限定符">is 限定符</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#另见">另见</a></div></div><div class="h1wrap-body"><div class="wrap h2body-exist"><div class="wrap-header h2wrap"><h2 id="键盘快捷键"><a aria-hidden="true" tabindex="-1" href="#键盘快捷键"><span class="icon icon-link"></span></a>键盘快捷键</h2><div class="wrap-body">
</div></div><div class="h2wrap-body"><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="站点范围的快捷方式"><a aria-hidden="true" tabindex="-1" href="#站点范围的快捷方式"><span class="icon icon-link"></span></a>站点范围的快捷方式</h3><div class="wrap-body"> </div></div><div class="h2wrap-body"><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="站点范围的快捷方式"><a aria-hidden="true" tabindex="-1" href="#站点范围的快捷方式"><span class="icon icon-link"></span></a>站点范围的快捷方式</h3><div class="wrap-body">
@ -94,6 +94,42 @@
<table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>G</code> <code>C</code></td><td>转到 <code>Code</code> 选项卡</td></tr><tr><td align="left"><code>G</code> <code>I</code></td><td>转到 <code>Issues</code> 选项卡</td></tr><tr><td align="left"><code>G</code> <code>P</code></td><td>转到拉取请求选项卡</td></tr><tr><td align="left"><code>G</code> <code>B</code></td><td>转到 <code>Projects</code> 选项卡</td></tr><tr><td align="left"><code>G</code> <code>W</code></td><td>转到 <code>Wiki</code> 选项卡</td></tr></tbody></table> <table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>G</code> <code>C</code></td><td>转到 <code>Code</code> 选项卡</td></tr><tr><td align="left"><code>G</code> <code>I</code></td><td>转到 <code>Issues</code> 选项卡</td></tr><tr><td align="left"><code>G</code> <code>P</code></td><td>转到拉取请求选项卡</td></tr><tr><td align="left"><code>G</code> <code>B</code></td><td>转到 <code>Projects</code> 选项卡</td></tr><tr><td align="left"><code>G</code> <code>W</code></td><td>转到 <code>Wiki</code> 选项卡</td></tr></tbody></table>
<!--rehype:className=shortcuts--> <!--rehype:className=shortcuts-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="源码浏览"><a aria-hidden="true" tabindex="-1" href="#源码浏览"><span class="icon icon-link"></span></a>源码浏览</h3><div class="wrap-body">
<table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>T</code></td><td>激活文件查找器</td></tr><tr><td align="left"><code>L</code></td><td>跳转到代码中的一行</td></tr><tr><td align="left"><code>W</code></td><td>切换到新的分支或标签</td></tr><tr><td align="left"><code>Y</code></td><td>将 URL 扩展为其规范形式</td></tr><tr><td align="left"><code>I</code></td><td>显示或隐藏对差异的评论</td></tr><tr><td align="left"><code>B</code></td><td>打开责备视图</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="源代码编辑"><a aria-hidden="true" tabindex="-1" href="#源代码编辑"><span class="icon icon-link"></span></a>源代码编辑</h3><div class="wrap-body"> </div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="源代码编辑"><a aria-hidden="true" tabindex="-1" href="#源代码编辑"><span class="icon icon-link"></span></a>源代码编辑</h3><div class="wrap-body">
@ -138,42 +174,6 @@
<table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>Ctrl</code> <code>F</code></td><td>开始在文件编辑器中搜索</td></tr><tr><td align="left"><code>Ctrl</code> <code>G</code></td><td>找下一个</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>G</code></td><td>查找上一个</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>F</code></td><td>代替</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>R</code></td><td>全部替换</td></tr><tr><td align="left"><code>Alt</code> <code>G</code></td><td>跳转到行</td></tr><tr><td align="left"><code>Ctrl</code> <code>Z</code></td><td>撤消</td></tr><tr><td align="left"><code>Ctrl</code> <code>Y</code></td><td>重做</td></tr></tbody></table> <table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>Ctrl</code> <code>F</code></td><td>开始在文件编辑器中搜索</td></tr><tr><td align="left"><code>Ctrl</code> <code>G</code></td><td>找下一个</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>G</code></td><td>查找上一个</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>F</code></td><td>代替</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>R</code></td><td>全部替换</td></tr><tr><td align="left"><code>Alt</code> <code>G</code></td><td>跳转到行</td></tr><tr><td align="left"><code>Ctrl</code> <code>Z</code></td><td>撤消</td></tr><tr><td align="left"><code>Ctrl</code> <code>Y</code></td><td>重做</td></tr></tbody></table>
<!--rehype:className=shortcuts--> <!--rehype:className=shortcuts-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="源码浏览"><a aria-hidden="true" tabindex="-1" href="#源码浏览"><span class="icon icon-link"></span></a>源码浏览</h3><div class="wrap-body">
<table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>T</code></td><td>激活文件查找器</td></tr><tr><td align="left"><code>L</code></td><td>跳转到代码中的一行</td></tr><tr><td align="left"><code>W</code></td><td>切换到新的分支或标签</td></tr><tr><td align="left"><code>Y</code></td><td>将 URL 扩展为其规范形式</td></tr><tr><td align="left"><code>I</code></td><td>显示或隐藏对差异的评论</td></tr><tr><td align="left"><code>B</code></td><td>打开责备视图</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="注释"><a aria-hidden="true" tabindex="-1" href="#注释"><span class="icon icon-link"></span></a>注释</h3><div class="wrap-body"> </div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="注释"><a aria-hidden="true" tabindex="-1" href="#注释"><span class="icon icon-link"></span></a>注释</h3><div class="wrap-body">
@ -218,112 +218,8 @@
<table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>Ctrl</code> <code>B</code></td><td>为粗体文本插入 Markdown 格式</td></tr><tr><td align="left"><code>Ctrl</code> <code>I</code></td><td>插入斜体文本的 Markdown 格式</td></tr><tr><td align="left"><code>Ctrl</code> <code>K</code></td><td>插入 Markdown 格式以创建链接</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>P</code></td><td>在编写和预览评论选项卡之间切换</td></tr><tr><td align="left"><code>Ctrl</code> <code>Enter</code></td><td>提交评论</td></tr><tr><td align="left"><code>Ctrl</code> <code>.</code></td><td>打开已保存的回复菜单,然后使用已保存的回复自动填充评论字段</td></tr><tr><td align="left"><code>Ctrl</code> <code>G</code></td><td>插入一个建议</td></tr><tr><td align="left"><code>R</code></td><td>在回复中引用所选文字</td></tr></tbody></table> <table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>Ctrl</code> <code>B</code></td><td>为粗体文本插入 Markdown 格式</td></tr><tr><td align="left"><code>Ctrl</code> <code>I</code></td><td>插入斜体文本的 Markdown 格式</td></tr><tr><td align="left"><code>Ctrl</code> <code>K</code></td><td>插入 Markdown 格式以创建链接</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>P</code></td><td>在编写和预览评论选项卡之间切换</td></tr><tr><td align="left"><code>Ctrl</code> <code>Enter</code></td><td>提交评论</td></tr><tr><td align="left"><code>Ctrl</code> <code>.</code></td><td>打开已保存的回复菜单,然后使用已保存的回复自动填充评论字段</td></tr><tr><td align="left"><code>Ctrl</code> <code>G</code></td><td>插入一个建议</td></tr><tr><td align="left"><code>R</code></td><td>在回复中引用所选文字</td></tr></tbody></table>
<!--rehype:className=shortcuts--> <!--rehype:className=shortcuts-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="问题和拉取请求列表"><a aria-hidden="true" tabindex="-1" href="#问题和拉取请求列表"><span class="icon icon-link"></span></a>问题和拉取请求列表</h3><div class="wrap-body"> </div></div></div><div class="wrap h3body-not-exist row-span-4"><div class="wrap-header h3wrap"><h3 id="项目板"><a aria-hidden="true" tabindex="-1" href="#项目板"><span class="icon icon-link"></span></a>项目板</h3><div class="wrap-body">
<!--rehype:wrap-class=row-span-4-->
<table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>C</code></td><td>创建问题</td></tr><tr><td align="left"><code>Ctrl</code> <code>/</code></td><td>将光标聚焦在问题或拉取请求搜索栏上</td></tr><tr><td align="left"><code>U</code></td><td>按作者过滤</td></tr><tr><td align="left"><code>L</code></td><td>按标签过滤或编辑标签</td></tr><tr><td align="left"><code>M</code></td><td>按里程碑过滤或编辑里程碑</td></tr><tr><td align="left"><code>A</code></td><td>按受让人过滤或编辑受让人</td></tr><tr><td align="left"><code>O</code></td><td>打开问题</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="问题和拉取请求"><a aria-hidden="true" tabindex="-1" href="#问题和拉取请求"><span class="icon icon-link"></span></a>问题和拉取请求</h3><div class="wrap-body">
<table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>Q</code></td><td>请求审稿人</td></tr><tr><td align="left"><code>M</code></td><td>设定一个里程碑</td></tr><tr><td align="left"><code>L</code></td><td>应用标签</td></tr><tr><td align="left"><code>A</code></td><td>设置受让人</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="拉取请求的变化"><a aria-hidden="true" tabindex="-1" href="#拉取请求的变化"><span class="icon icon-link"></span></a>拉取请求的变化</h3><div class="wrap-body">
<table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>C</code></td><td>打开拉取请求中的提交列表</td></tr><tr><td align="left"><code>T</code></td><td>打开拉取请求中已更改文件的列表</td></tr><tr><td align="left"><code>J</code></td><td>在列表中向下移动选择</td></tr><tr><td align="left"><code>K</code></td><td>在列表中向上移动选择</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>Enter</code></td><td>在拉取请求差异上添加单个评论</td></tr><tr><td align="left"><code>Alt</code> <code>(click)</code></td><td>在拉取请求中折叠和展开所有过时的审阅评论之间切换</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
</div></div></div><div class="wrap h3body-not-exist row-span-2"><div class="wrap-header h3wrap"><h3 id="项目板"><a aria-hidden="true" tabindex="-1" href="#项目板"><span class="icon icon-link"></span></a>项目板</h3><div class="wrap-body">
<!--rehype:wrap-class=row-span-2-->
@ -423,6 +319,75 @@
<table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>Enter/Space</code></td><td>开始移动焦点列</td></tr><tr><td align="left"><code>Esc</code></td><td>取消正在进行的移动</td></tr><tr><td align="left"><code>Enter</code></td><td>完成正在进行的移动</td></tr><tr><td align="left"><code>Left/H</code></td><td>向左移动列</td></tr><tr><td align="left"><code>Ctrl</code> <code>Left/H</code></td><td>将列移动到最左边的位置</td></tr><tr><td align="left"><code>Right/L</code></td><td>向右移动列</td></tr><tr><td align="left"><code>Ctrl</code> <code>Right/L</code></td><td>将列移动到最右边的位置</td></tr><tr><td align="left"><code>Enter/Space</code></td><td>开始移动聚焦卡</td></tr><tr><td align="left"><code>Esc</code></td><td>取消正在进行的移动</td></tr><tr><td align="left"><code>Enter</code></td><td>完成正在进行的移动</td></tr><tr><td align="left"><code>Down/J</code></td><td>向下移动卡片</td></tr><tr><td align="left"><code>Ctrl</code> <code>Down/J</code></td><td>将卡片移动到列的底部</td></tr><tr><td align="left"><code>Up/K</code></td><td>向上移动卡片</td></tr><tr><td align="left"><code>Ctrl</code> <code>Up/K</code></td><td>将卡片移动到列的顶部</td></tr><tr><td align="left"><code>Left/H</code></td><td>将卡片移动到左侧列的底部</td></tr><tr><td align="left"><code>Shift</code> <code>Left/H</code></td><td>将卡片移动到左侧列的顶部</td></tr><tr><td align="left"><code>Ctrl</code> <code>Left/H</code></td><td>将卡片移动到最左边一列的底部</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>Left/H</code></td><td>将卡片移至最左侧列的顶部</td></tr><tr><td align="left"><code>Right</code></td><td>将卡片移动到右侧列的底部</td></tr><tr><td align="left"><code>Shift</code> <code>Right/L</code></td><td>将卡片移动到右侧列的顶部</td></tr><tr><td align="left"><code>Ctrl</code> <code>Right/L</code></td><td>将卡片移动到最右侧列的底部</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>Right/L</code></td><td>将卡片移至最右侧列的顶部</td></tr></tbody></table> <table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>Enter/Space</code></td><td>开始移动焦点列</td></tr><tr><td align="left"><code>Esc</code></td><td>取消正在进行的移动</td></tr><tr><td align="left"><code>Enter</code></td><td>完成正在进行的移动</td></tr><tr><td align="left"><code>Left/H</code></td><td>向左移动列</td></tr><tr><td align="left"><code>Ctrl</code> <code>Left/H</code></td><td>将列移动到最左边的位置</td></tr><tr><td align="left"><code>Right/L</code></td><td>向右移动列</td></tr><tr><td align="left"><code>Ctrl</code> <code>Right/L</code></td><td>将列移动到最右边的位置</td></tr><tr><td align="left"><code>Enter/Space</code></td><td>开始移动聚焦卡</td></tr><tr><td align="left"><code>Esc</code></td><td>取消正在进行的移动</td></tr><tr><td align="left"><code>Enter</code></td><td>完成正在进行的移动</td></tr><tr><td align="left"><code>Down/J</code></td><td>向下移动卡片</td></tr><tr><td align="left"><code>Ctrl</code> <code>Down/J</code></td><td>将卡片移动到列的底部</td></tr><tr><td align="left"><code>Up/K</code></td><td>向上移动卡片</td></tr><tr><td align="left"><code>Ctrl</code> <code>Up/K</code></td><td>将卡片移动到列的顶部</td></tr><tr><td align="left"><code>Left/H</code></td><td>将卡片移动到左侧列的底部</td></tr><tr><td align="left"><code>Shift</code> <code>Left/H</code></td><td>将卡片移动到左侧列的顶部</td></tr><tr><td align="left"><code>Ctrl</code> <code>Left/H</code></td><td>将卡片移动到最左边一列的底部</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>Left/H</code></td><td>将卡片移至最左侧列的顶部</td></tr><tr><td align="left"><code>Right</code></td><td>将卡片移动到右侧列的底部</td></tr><tr><td align="left"><code>Shift</code> <code>Right/L</code></td><td>将卡片移动到右侧列的顶部</td></tr><tr><td align="left"><code>Ctrl</code> <code>Right/L</code></td><td>将卡片移动到最右侧列的底部</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>Right/L</code></td><td>将卡片移至最右侧列的顶部</td></tr></tbody></table>
<!--rehype:className=shortcuts--> <!--rehype:className=shortcuts-->
</div></div></div><div class="wrap h3body-not-exist row-span-2"><div class="wrap-header h3wrap"><h3 id="问题和拉取请求列表"><a aria-hidden="true" tabindex="-1" href="#问题和拉取请求列表"><span class="icon icon-link"></span></a>问题和拉取请求列表</h3><div class="wrap-body">
<!--rehype:wrap-class=row-span-2-->
<table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>C</code></td><td>创建问题</td></tr><tr><td align="left"><code>Ctrl</code> <code>/</code></td><td>将光标聚焦在问题或拉取请求搜索栏上</td></tr><tr><td align="left"><code>U</code></td><td>按作者过滤</td></tr><tr><td align="left"><code>L</code></td><td>按标签过滤或编辑标签</td></tr><tr><td align="left"><code>M</code></td><td>按里程碑过滤或编辑里程碑</td></tr><tr><td align="left"><code>A</code></td><td>按受让人过滤或编辑受让人</td></tr><tr><td align="left"><code>O</code></td><td>打开问题</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="问题和拉取请求"><a aria-hidden="true" tabindex="-1" href="#问题和拉取请求"><span class="icon icon-link"></span></a>问题和拉取请求</h3><div class="wrap-body">
<table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>Q</code></td><td>请求审稿人</td></tr><tr><td align="left"><code>M</code></td><td>设定一个里程碑</td></tr><tr><td align="left"><code>L</code></td><td>应用标签</td></tr><tr><td align="left"><code>A</code></td><td>设置受让人</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="通知"><a aria-hidden="true" tabindex="-1" href="#通知"><span class="icon icon-link"></span></a>通知</h3><div class="wrap-body"> </div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="通知"><a aria-hidden="true" tabindex="-1" href="#通知"><span class="icon icon-link"></span></a>通知</h3><div class="wrap-body">
@ -443,6 +408,42 @@
<table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>E/L/Y</code></td><td>标记为已读</td></tr><tr><td align="left"><code>Shift</code> <code>M</code></td><td>静音线程</td></tr></tbody></table> <table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>E/L/Y</code></td><td>标记为已读</td></tr><tr><td align="left"><code>Shift</code> <code>M</code></td><td>静音线程</td></tr></tbody></table>
<!--rehype:className=shortcuts--> <!--rehype:className=shortcuts-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="拉取请求的变化"><a aria-hidden="true" tabindex="-1" href="#拉取请求的变化"><span class="icon icon-link"></span></a>拉取请求的变化</h3><div class="wrap-body">
<table class="shortcuts"><thead><tr><th align="left">快捷键</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>C</code></td><td>打开拉取请求中的提交列表</td></tr><tr><td align="left"><code>T</code></td><td>打开拉取请求中已更改文件的列表</td></tr><tr><td align="left"><code>J</code></td><td>在列表中向下移动选择</td></tr><tr><td align="left"><code>K</code></td><td>在列表中向上移动选择</td></tr><tr><td align="left"><code>Ctrl</code> <code>Shift</code> <code>Enter</code></td><td>在拉取请求差异上添加单个评论</td></tr><tr><td align="left"><code>Alt</code> <code>(click)</code></td><td>在拉取请求中折叠和展开所有过时的审阅评论之间切换</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="网络图"><a aria-hidden="true" tabindex="-1" href="#网络图"><span class="icon icon-link"></span></a>网络图</h3><div class="wrap-body"> </div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="网络图"><a aria-hidden="true" tabindex="-1" href="#网络图"><span class="icon icon-link"></span></a>网络图</h3><div class="wrap-body">
@ -540,7 +541,11 @@
<table class="style-list"><thead><tr><th align="left">:--</th><th>--</th></tr></thead><tbody><tr><td align="left"><code>path:__init__.py</code></td><td>文件为 <pur><code>__init__.py</code></pur> 里面的内容搜索</td></tr><tr><td align="left"><code>path:/.*shrc$/</code></td><td>文件路径包含 <pur><code>.*shrc</code></pur> 结尾的文件中搜索内容</td></tr><tr><td align="left"><code>path:/src/*.js</code></td><td><pur><code>src</code></pur> 目录中的 <pur><code>.js</code></pur> 后缀的文件中搜索内容</td></tr></tbody></table>
<table class="style-list"><thead><tr><th align="left">:--</th><th>--</th></tr></thead><tbody><tr><td align="left"><code>path:__init__.py</code></td><td>文件为 <pur><code>__init__.py</code></pur> 里面的内容搜索</td></tr><tr><td align="left"><code>path:/.*shrc$/</code></td><td>文件路径包含 <pur><code>.*shrc</code></pur> 结尾的文件中搜索内容</td></tr><tr><td align="left"><code>path:/src/*.js</code></td><td><pur><code>src</code></pur> 目录中的 <pur><code>.js</code></pur> 后缀的文件中搜索内容</td></tr><tr><td align="left"><code>path:/(^|\/)README\.md$/</code></td><td>使用正则,仅匹配特定文件名(而不是路径的一部分)</td></tr></tbody></table>
<!--rehype:className=style-list--> <!--rehype:className=style-list-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="完全符合"><a aria-hidden="true" tabindex="-1" href="#完全符合"><span class="icon icon-link"></span></a>完全符合</h3><div class="wrap-body"> </div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="完全符合"><a aria-hidden="true" tabindex="-1" href="#完全符合"><span class="icon icon-link"></span></a>完全符合</h3><div class="wrap-body">
@ -577,7 +582,8 @@
<table class="style-list"><thead><tr><th align="left">:--</th><th>--</th></tr></thead><tbody><tr><td align="left"><code>io_uring (language:c OR language:cpp)</code></td><td>语言为 <pur><code>c</code></pur> 或者 <pur><code>cpp</code></pur> 的文件中搜索 <pur><code>io_uring</code></pur></td></tr><tr><td align="left"><code>org:kubernetes NOT repo:kubernetes/api</code></td><td>组织为 <pur><code>kubernetes</code></pur> 排除里面的 <pur><code>api</code></pur> 仓库进行搜索</td></tr></tbody></table> <table class="style-list"><thead><tr><th align="left">:--</th><th>--</th></tr></thead><tbody><tr><td align="left"><code>io_uring (language:c OR language:cpp)</code></td><td>语言为 <pur><code>c</code></pur> 或者 <pur><code>cpp</code></pur> 的文件中搜索 <pur><code>io_uring</code></pur></td></tr><tr><td align="left"><code>org:kubernetes NOT repo:kubernetes/api</code></td><td>组织为 <pur><code>kubernetes</code></pur> 排除里面的 <pur><code>api</code></pur> 仓库进行搜索</td></tr></tbody></table>
<!--rehype:className=style-list--> <!--rehype:className=style-list-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="基于仓库的条件"><a aria-hidden="true" tabindex="-1" href="#基于仓库的条件"><span class="icon icon-link"></span></a>基于仓库的条件</h3><div class="wrap-body"> </div></div></div><div class="wrap h3body-not-exist row-span-2"><div class="wrap-header h3wrap"><h3 id="基于仓库的条件"><a aria-hidden="true" tabindex="-1" href="#基于仓库的条件"><span class="icon icon-link"></span></a>基于仓库的条件</h3><div class="wrap-body">
<!--rehype:wrap-class=row-span-2-->
@ -613,7 +619,8 @@
<table class="style-list"><thead><tr><th align="left">:--</th><th>--</th></tr></thead><tbody><tr><td align="left"><code>stars:100..8000 stars:>10000</code></td><td>星星为 <pur>100 ~ 8000</pur><pur>10000</pur> 以上的</td></tr><tr><td align="left"><code>forks:50..100 forks:200 forks:&#x3C;5</code></td><td>fork 为 <pur>50 ~ 100</pur> 或者 <pur>200</pur> 或者小于 <pur>5</pur></td></tr><tr><td align="left"><code>size:35</code></td><td>大小为 <code>35kb</code></td></tr><tr><td align="left"><code>pushed:&#x3C;2022-11-23</code></td><td>推送代码时间 <pur>2022-11-23</pur> 之前</td></tr><tr><td align="left"><code>fork:true</code>, <code>fork:only</code></td><td></td></tr><tr><td align="left"><code>license:mit</code></td><td>基于协议 <pur><code>mit</code></pur> 条件</td></tr></tbody></table> <table class="style-list"><thead><tr><th align="left">:--</th><th>--</th></tr></thead><tbody><tr><td align="left"><code>stars:100..8000 stars:>10000</code></td><td>星星为 <pur>100 ~ 8000</pur><pur>10000</pur> 以上的</td></tr><tr><td align="left"><code>forks:50..100 forks:200 forks:&#x3C;5</code></td><td>fork 为 <pur>50 ~ 100</pur> 或者 <pur>200</pur> 或者小于 <pur>5</pur></td></tr><tr><td align="left"><code>size:35</code></td><td>大小为 <code>35kb</code></td></tr><tr><td align="left"><code>pushed:&#x3C;2022-11-23</code></td><td>推送代码时间 <pur>2022-11-23</pur> 之前</td></tr><tr><td align="left"><code>fork:true</code>, <code>fork:only</code></td><td></td></tr><tr><td align="left"><code>license:mit</code></td><td>基于协议 <pur><code>mit</code></pur> 条件</td></tr></tbody></table>
<!--rehype:className=style-list--> <!--rehype:className=style-list-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="基于-issue-的条件"><a aria-hidden="true" tabindex="-1" href="#基于-issue-的条件"><span class="icon icon-link"></span></a>基于 issue 的条件</h3><div class="wrap-body"> </div></div></div><div class="wrap h3body-not-exist row-span-2"><div class="wrap-header h3wrap"><h3 id="基于-issue-的条件"><a aria-hidden="true" tabindex="-1" href="#基于-issue-的条件"><span class="icon icon-link"></span></a>基于 issue 的条件</h3><div class="wrap-body">
<!--rehype:wrap-class=row-span-2-->
@ -681,6 +688,56 @@
<table class="style-list"><thead><tr><th align="left">:--</th><th>--</th></tr></thead><tbody><tr><td align="left"><code>fullname:jaywcjlove</code></td><td>全名 <pur>jaywcjlove</pur></td></tr><tr><td align="left"><code>location:China</code></td><td>位置 <pur>China</pur></td></tr><tr><td align="left"><code>followers:20..50 followers:>200 followers:&#x3C;2</code></td><td>追随者</td></tr><tr><td align="left"><code>repos:0 repos:&#x3C;40 repos:>5</code></td><td>仓库数量</td></tr></tbody></table> <table class="style-list"><thead><tr><th align="left">:--</th><th>--</th></tr></thead><tbody><tr><td align="left"><code>fullname:jaywcjlove</code></td><td>全名 <pur>jaywcjlove</pur></td></tr><tr><td align="left"><code>location:China</code></td><td>位置 <pur>China</pur></td></tr><tr><td align="left"><code>followers:20..50 followers:>200 followers:&#x3C;2</code></td><td>追随者</td></tr><tr><td align="left"><code>repos:0 repos:&#x3C;40 repos:>5</code></td><td>仓库数量</td></tr></tbody></table>
<!--rehype:className=style-list--> <!--rehype:className=style-list-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="symbol-限定符"><a aria-hidden="true" tabindex="-1" href="#symbol-限定符"><span class="icon icon-link"></span></a>Symbol 限定符</h3><div class="wrap-body">
<p>搜索 <code>go</code> 语言中的 <code>WithContext</code> 符号</p>
<pre><code class="code-highlight"><span class="code-line">language:go symbol:WithContext
</span></code></pre>
<p>查询将查找在 <code>Rust</code> 中实现的 <code>String</code> 类型转换:</p>
<pre><code class="code-highlight"><span class="code-line">language:rust symbol:/^String::to_.*/
</span></code></pre>
</div></div></div><div class="wrap h3body-not-exist col-span-2"><div class="wrap-header h3wrap"><h3 id="使用布尔运算"><a aria-hidden="true" tabindex="-1" href="#使用布尔运算"><span class="icon icon-link"></span></a>使用布尔运算</h3><div class="wrap-body">
<!--rehype:wrap-class=col-span-2-->
<p>查询将匹配包含 <code>sparse</code><code>index</code> 的文档</p>
<pre class="language-js"><code class="language-js code-highlight"><span class="code-line">sparse <span class="token constant">OR</span> index
</span></code></pre>
<p>排除 <code>__testing__</code> 目录中的文件,您可以搜索:</p>
<pre class="language-js"><code class="language-js code-highlight"><span class="code-line"><span class="token string">"fatal error"</span> <span class="token constant">NOT</span> <span class="token literal-property property">path</span><span class="token operator">:</span>__testing__
</span></code></pre>
<p>您可以使用括号来表达更复杂的布尔表达式</p>
<pre class="language-js"><code class="language-js code-highlight"><span class="code-line"><span class="token punctuation">(</span>language<span class="token operator">:</span>ruby <span class="token constant">OR</span> <span class="token literal-property property">language</span><span class="token operator">:</span>python<span class="token punctuation">)</span> <span class="token constant">AND</span> <span class="token constant">NOT</span> <span class="token literal-property property">path</span><span class="token operator">:</span><span class="token string">"/tests/"</span>
</span></code></pre>
<p>使用运算符 <code>AND</code><code>OR</code><code>NOT</code> 来组合搜索词</p>
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="is-限定符"><a aria-hidden="true" tabindex="-1" href="#is-限定符"><span class="icon icon-link"></span></a>is 限定符</h3><div class="wrap-body">
<ul>
<li><code>archived</code>: 限制搜索<code>已存档</code>的版本库</li>
<li><code>fork</code>: 限制搜索已<code>分叉</code>的版本库</li>
<li><code>vendored</code>: 限制搜索被检测为 vendored 的内容</li>
<li><code>generated</code>: 限制搜索检测为<code>已生成</code>的内容</li>
</ul>
<p>示例</p>
<table class="style-list"><thead><tr><th align="left">:--</th><th>--</th></tr></thead><tbody><tr><td align="left"><code>path:/^MIT.txt$/ is:archived</code></td><td>已归档存储库,中包含名为 <pur>MIT.txt</pur> 的文件</td></tr><tr><td align="left"><code>log4j NOT is:archived</code></td><td>限定符 <pur>is:</pur> 可以与 <pur>NOT</pur> 运算符反转</td></tr><tr><td align="left"><code>log4j NOT is:fork</code></td><td>从结果中排除<pur>分叉</pur></td></tr></tbody></table>
<!--rehype:className=style-list-->
</div></div></div></div></div><div class="wrap h2body-not-exist"><div class="wrap-header h2wrap"><h2 id="另见"><a aria-hidden="true" tabindex="-1" href="#另见"><span class="icon icon-link"></span></a>另见</h2><div class="wrap-body"> </div></div></div></div></div><div class="wrap h2body-not-exist"><div class="wrap-header h2wrap"><h2 id="另见"><a aria-hidden="true" tabindex="-1" href="#另见"><span class="icon icon-link"></span></a>另见</h2><div class="wrap-body">
<ul> <ul>
<li><a href="https://help.github.com/articles/using-keyboard-shortcuts/">Keyboard shortcuts for Github</a> <em>(help.github.com)</em></li> <li><a href="https://help.github.com/articles/using-keyboard-shortcuts/">Keyboard shortcuts for Github</a> <em>(help.github.com)</em></li>

View File

@ -1354,7 +1354,7 @@
<!--rehype:class=home-card home-links--> <!--rehype:class=home-card home-links-->
<p>如果你有资源,可以很方便<a href="https://github.com/jaywcjlove/reference/issues/102#issue-1451649637">部署 web 版</a>,这非常简单,只需要克隆 <a href="https://github.com/jaywcjlove/reference/tree/gh-pages">gh-pages</a> 分支代码到你的静态服务就可以了,还可以使用 <a href="https://hub.docker.com/r/wcjiang/reference">docker</a> 快捷部署 web 版。</p> <p>如果你有资源,可以很方便<a href="https://github.com/jaywcjlove/reference/issues/102#issue-1451649637">部署 web 版</a>,这非常简单,只需要克隆 <a href="https://github.com/jaywcjlove/reference/tree/gh-pages">gh-pages</a> 分支代码到你的静态服务就可以了,还可以使用 <a href="https://hub.docker.com/r/wcjiang/reference">docker</a> 快捷部署 web 版。</p>
</div></div><div class="h2wrap-body"></div></div></div></div><footer class="footer-wrap"><footer class="max-container">© 2022 <a href="https://wangchujiang.com/#/app" target="_blank">Kenny Wang</a>. Updated on 2024/04/12 22:29:12</footer></footer><script src="data.js?v=1.5.3" defer></script><script src="js/fuse.min.js?v=1.5.3" defer></script><script src="js/main.js?v=1.5.3" defer></script><div id="mysearch"><div class="mysearch-box"><div class="mysearch-input"><div><svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 18 18"> </div></div><div class="h2wrap-body"></div></div></div></div><footer class="footer-wrap"><footer class="max-container">© 2022 <a href="https://wangchujiang.com/#/app" target="_blank">Kenny Wang</a>. Updated on 2024/04/13 14:28:14</footer></footer><script src="data.js?v=1.5.3" defer></script><script src="js/fuse.min.js?v=1.5.3" defer></script><script src="js/main.js?v=1.5.3" defer></script><div id="mysearch"><div class="mysearch-box"><div class="mysearch-input"><div><svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 18 18">
<path fill="currentColor" d="M17.71,16.29 L14.31,12.9 C15.4069846,11.5024547 16.0022094,9.77665502 16,8 C16,3.581722 12.418278,0 8,0 C3.581722,0 0,3.581722 0,8 C0,12.418278 3.581722,16 8,16 C9.77665502,16.0022094 11.5024547,15.4069846 12.9,14.31 L16.29,17.71 C16.4777666,17.8993127 16.7333625,18.0057983 17,18.0057983 C17.2666375,18.0057983 17.5222334,17.8993127 17.71,17.71 C17.8993127,17.5222334 18.0057983,17.2666375 18.0057983,17 C18.0057983,16.7333625 17.8993127,16.4777666 17.71,16.29 Z M2,8 C2,4.6862915 4.6862915,2 8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 Z"></path> <path fill="currentColor" d="M17.71,16.29 L14.31,12.9 C15.4069846,11.5024547 16.0022094,9.77665502 16,8 C16,3.581722 12.418278,0 8,0 C3.581722,0 0,3.581722 0,8 C0,12.418278 3.581722,16 8,16 C9.77665502,16.0022094 11.5024547,15.4069846 12.9,14.31 L16.29,17.71 C16.4777666,17.8993127 16.7333625,18.0057983 17,18.0057983 C17.2666375,18.0057983 17.5222334,17.8993127 17.71,17.71 C17.8993127,17.5222334 18.0057983,17.2666375 18.0057983,17 C18.0057983,16.7333625 17.8993127,16.4777666 17.71,16.29 Z M2,8 C2,4.6862915 4.6862915,2 8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 Z"></path>
</svg><input id="mysearch-input" type="search" placeholder="搜索" autocomplete="off"><div class="mysearch-clear"></div></div><button id="mysearch-close" type="button">搜索</button></div><div class="mysearch-result"><div id="mysearch-menu"></div><div id="mysearch-content"></div></div></div></div></body> </svg><input id="mysearch-input" type="search" placeholder="搜索" autocomplete="off"><div class="mysearch-clear"></div></div><button id="mysearch-close" type="button">搜索</button></div><div class="mysearch-result"><div id="mysearch-menu"></div><div id="mysearch-content"></div></div></div></div></body>
</html> </html>