Skip to main content

How to use linux-stable.git

  1. Clone the Linux source code by running:
git clone https://mirrors.hust.edu.cn/git/linux-stable.git
  1. To add mirror to 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-stable.git

or

git remote set-url origin https://mirrors.hust.edu.cn/git/linux-stable.git

This will set the default upstream to the current software mirror site.

References

1 MirrorZ

2 Help Repository

Choose your prefered domain
mirrors.hust.edu.cn
This domain is Dual Stack
Enable HTTPS