$ git clone -n https://gitee.com/lslwh/loongarch-kernel.git /var/lib/mock/dist-an8.9-build-355991-71068/root/chroot_tmpdir/scmroot/loongarch-kernel Cloning into '/var/lib/mock/dist-an8.9-build-355991-71068/root/chroot_tmpdir/scmroot/loongarch-kernel'... $ git reset --hard fb2e8ba2228ea515004e6ee49852e3f1be679abd HEAD is now at fb2e8ba Remove unwanted version detection