diff --git a/_data/options.yml b/_data/options.yml
index c77fe02..1355a02 100644
--- a/_data/options.yml
+++ b/_data/options.yml
@@ -151,9 +151,11 @@ mirror_desc:
- name: gentoo
desc: Gentoo Linux 的 Stage 3 镜像
- name: gentoo-portage
- desc: Gentoo Linux 的 Portage 包管理器镜像源
+ desc: Gentoo Linux 的 Portage 包管理器镜像源(HTTP / rsync 访问)
+ - name: gentoo-portage.git
+ desc: Gentoo Linux 的 Portage 包管理器镜像源(Git 访问)
- name: gentoo-portage-prefix
- desc: Gentoo/Prefix 的 Portage 包管理器镜像源
+ desc: Gentoo/Prefix 的 Portage 包管理器镜像源(仅适用于 macOS)
- name: git-repo
desc: Google 开发的项目依赖下载工具 repo 的镜像
- name: github-release
@@ -449,6 +451,7 @@ force_help_mirrors:
- linux-next.git
- linux-stable.git
- git-repo
+ - gentoo-portage.git
- chromiumos
- weave
- CocoaPods
diff --git a/_layouts/help.html b/_layouts/help.html
index de9b092..80b12fc 100644
--- a/_layouts/help.html
+++ b/_layouts/help.html
@@ -4,6 +4,14 @@
{% include nav.html %}
+{% if page.redirect_help_id %}
+{% assign redirect_to_page = site.categories["help"] | where_exp:"p", "p.mirrorid == page.redirect_help_id" %}
+
+{% endif %}
+
{% assign help_pages = site.categories["help"] | sort: 'mirrorid' %}
@@ -11,7 +19,7 @@
diff --git a/_posts/help/1970-01-01-linux-next.git.md b/_posts/help/1970-01-01-linux-next.git.md
index 85a294f..6dc8ed5 100644
--- a/_posts/help/1970-01-01-linux-next.git.md
+++ b/_posts/help/1970-01-01-linux-next.git.md
@@ -2,28 +2,5 @@
category: help
layout: help
mirrorid: linux-next.git
+redirect_help_id: linux.git
---
-
-## Linux Kernel Git Next 分支镜像使用帮助
-
-如需克隆 linux 代码,使用
-
-```
-git clone https://{{ site.hostname }}/git/linux-next.git
-```
-
-若要将 tuna mirror 加入已有代码库,可在已有仓库中运行
-
-```
-git remote add tuna https://{{ site.hostname }}/git/linux-next.git
-```
-
-或运行
-
-```
-git remote set-url origin https://{{ site.hostname }}/git/linux-next.git
-```
-
-将默认上游设置为 TUNA 镜像。
-
-
diff --git a/_posts/help/1970-01-01-linux-stable.git.md b/_posts/help/1970-01-01-linux-stable.git.md
index 2a2a5c9..88bfc57 100644
--- a/_posts/help/1970-01-01-linux-stable.git.md
+++ b/_posts/help/1970-01-01-linux-stable.git.md
@@ -2,27 +2,5 @@
category: help
layout: help
mirrorid: linux-stable.git
+redirect_help_id: linux.git
---
-
-## Linux Kernel Git Stable 分支镜像使用帮助
-
-如需克隆 linux 代码,使用
-
-```
-git clone https://{{ site.hostname }}/git/linux-stable.git
-```
-
-若要将 tuna mirror 加入已有代码库,可在已有仓库中运行
-
-```
-git remote add tuna https://{{ site.hostname }}/git/linux-stable.git
-```
-
-或运行
-
-```
-git remote set-url origin https://{{ site.hostname }}/git/linux-stable.git
-```
-
-将默认上游设置为 TUNA 镜像
-
diff --git a/_posts/help/1970-01-01-linux.git.md b/_posts/help/1970-01-01-linux.git.md
index 76bb8b1..7742a1e 100644
--- a/_posts/help/1970-01-01-linux.git.md
+++ b/_posts/help/1970-01-01-linux.git.md
@@ -6,6 +6,8 @@ mirrorid: linux.git
## Linux Kernel Git 镜像使用帮助
+本项目包含三个镜像:`linux.git`, `linux-next.git`, `linux-stable.git`,分别是主分支、稳定版分支和开发分支。在使用时,请自行更改路径中相应的仓库名称。
+
如需克隆主线 linux 代码,使用
```
@@ -26,6 +28,8 @@ git remote set-url origin https://{{ site.hostname }}/git/linux.git
将默认上游设置为 TUNA 镜像
+### 增量下载
+
如果需要其它 linux 分支的代码(如树莓派内核代码),可以在 clone 本项目基础上增量下载分支的代码,从而加速下载
以树莓派为例,具体操作为