$ git clone -n https://gitee.com/src-anolis-test/uom-se.git /var/lib/mock/dist-an8.4-internal-build-76991-40360/root/chroot_tmpdir/scmroot/uom-se Cloning into '/var/lib/mock/dist-an8.4-internal-build-76991-40360/root/chroot_tmpdir/scmroot/uom-se'... $ git reset --hard origin/a8-temp-1.0.4-3.module+el8+2463+615f6896 HEAD is now at a39de55 import uom-se-1.0.4-3.module+el8+2463+615f6896.src.rpm