$ git clone -n https://gitee.com/src-anolis-test/supermin.git /var/lib/mock/dist-an8.4-internal-build-77175-40392/root/chroot_tmpdir/scmroot/supermin Cloning into '/var/lib/mock/dist-an8.4-internal-build-77175-40392/root/chroot_tmpdir/scmroot/supermin'... $ git reset --hard origin/a8-temp-5.1.19-10.module+el8.3.0+6423+e4cb6418 HEAD is now at a55a487 import supermin-5.1.19-10.module+el8.3.0+6423+e4cb6418.src.rpm