mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-27 14:42:45 +00:00
29 lines
493 B
Markdown
29 lines
493 B
Markdown
---
|
|
category: help
|
|
layout: help
|
|
mirrorid: linux.git
|
|
---
|
|
|
|
## Linux Kernel Git 镜像使用帮助
|
|
|
|
如需克隆 linux 代码,使用
|
|
|
|
```
|
|
git clone https://mirrors.tuna.tsinghua.edu.cn/git/linux.git
|
|
```
|
|
|
|
若要将 tuna mirror 加入已有代码库,可在已有仓库中运行
|
|
|
|
```
|
|
git remote add tuna https://mirrors.tuna.tsinghua.edu.cn/git/linux.git
|
|
```
|
|
|
|
或运行
|
|
|
|
```
|
|
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/linux.git
|
|
```
|
|
|
|
将默认上游设置为 TUNA 镜像
|
|
|