diff --git a/_posts/help/1970-01-01-linux-stable.git.md b/_posts/help/1970-01-01-linux-stable.git.md new file mode 100644 index 0000000..07b7577 --- /dev/null +++ b/_posts/help/1970-01-01-linux-stable.git.md @@ -0,0 +1,28 @@ +--- +category: help +layout: help +mirrorid: linux-stable.git +--- + +## Linux Kernel Git Stable 分支镜像使用帮助 + +如需克隆 linux 代码,使用 + +``` +git clone https://mirrors.tuna.tsinghua.edu.cn/git/linux-stable.git +``` + +若要将 tuna mirror 加入已有代码库,可在已有仓库中运行 + +``` +git remote add tuna https://mirrors.tuna.tsinghua.edu.cn/git/linux-stable.git +``` + +或运行 + +``` +git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/linux-stable.git +``` + +将默认上游设置为 TUNA 镜像 + diff --git a/_posts/help/1970-01-01-linux.md b/_posts/help/1970-01-01-linux.git.md similarity index 100% rename from _posts/help/1970-01-01-linux.md rename to _posts/help/1970-01-01-linux.git.md diff --git a/robots.txt b/robots.txt index bb5ff93..bad0194 100644 --- a/robots.txt +++ b/robots.txt @@ -13,6 +13,7 @@ Disallow: /alpine Disallow: /anaconda Disallow: /antergos Disallow: /anthon +Disallow: /aosp-monthly Disallow: /apache Disallow: /arch4edu Disallow: /archlinux @@ -62,6 +63,7 @@ Disallow: /kali-security Disallow: /kali Disallow: /kernel Disallow: /kodi +Disallow: /linux-stable.git Disallow: /linux.git Disallow: /linuxmint-cd Disallow: /linuxmint @@ -98,7 +100,9 @@ Disallow: /ros Disallow: /rpmfusion Disallow: /rubygems Disallow: /sagemath +Disallow: /saltstack Disallow: /slackware +Disallow: /slackwarearm Disallow: /steamos Disallow: /tensorflow Disallow: /termux diff --git a/static/js/index.es6 b/static/js/index.es6 index 5ebf2f7..bfed695 100644 --- a/static/js/index.es6 +++ b/static/js/index.es6 @@ -35,13 +35,16 @@ var mir_tmpl = $("#template").text(), ], options = { 'AOSP': { - 'url': "/help/AOSP/", + 'url': "/help/AOSP/" }, 'homebrew': { - 'url': "/help/homebrew/", + 'url': "/help/homebrew/" }, 'linux.git': { - 'url': "/help/linux/", + 'url': "/help/linux.git/" + }, + 'linux-stable.git': { + 'url': "/help/linux-stable.git/" } }, descriptions = {