一、提供几个版本源:
#github
git clone https://github.com/professordeng/xv6-expansion.git
git clone https://github.com/mit-pdos/xv6-riscv.git
git clone https://github.com/mit-pdos/xv6-public.git
#gitee
git clone https://gitee.com/coding_liang/xv6-public.git
git clone https://gitee.com/chenlu-guan/xv6-riscv.git
二、如果出现 下载失败的情况可以试试:
在windows中,在本地hosts文件(C:\Windows\System32\drivers\etc\hosts)中加入:
192.30.255.113 github.com
在linux中,执行如下命令:
echo "192.30.255.113 github.com" >>/etc/hosts
【说明】:192.30.255.113 这个IP地址是我通过IP解析网站获得的,大家可以自己去网站上查看github的IP地址。查到IP地址后可以ping “IP地址” ,保证能ping通后再使用。