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