$ git clone -n https://gitee.com/src-anolis-sig/loongarch-kernel.git /var/lib/mock/dist-an8.9-build-366447-71163/root/chroot_tmpdir/scmroot/loongarch-kernel Cloning into '/var/lib/mock/dist-an8.9-build-366447-71163/root/chroot_tmpdir/scmroot/loongarch-kernel'... $ git reset --hard origin/master HEAD is now at 8dac1f6 4.19.190-7.8