Linux Mainline Git
- Clone the
Linuxsource code by running:
git clone https://mirrors.hust.edu.cn/git/linux.git
- To add
mirrorto an existing code repository, in an existing repository, run either of the following commands:
git remote add mirror https://mirrors.hust.edu.cn/git/linux.git
or
git remote set-url origin https://mirrors.hust.edu.cn/git/linux.git
This will set the default upstream to the current software mirror site.
References
[^1] MirrorZ
[^2] Help Repository