$ git clone -n https://gitee.com/src-anolis-sig/cloud-kernel.git /var/lib/mock/dist-an7-plus-build-73825-38499/root/chroot_tmpdir/scmroot/cloud-kernel Cloning into '/var/lib/mock/dist-an7-plus-build-73825-38499/root/chroot_tmpdir/scmroot/cloud-kernel'... $ git reset --hard origin/an7-4.19 HEAD is now at 22f1855 an7-4.19: kernel release 4.19.91-25.4 $ /bin/sh -c if [ -f download ];then wget $(cat download);fi