$ git clone -n https://gitee.com/src-anolis-test/skopeo.git /var/lib/mock/dist-an8.4-internal-build-76999-40360/root/chroot_tmpdir/scmroot/skopeo Cloning into '/var/lib/mock/dist-an8.4-internal-build-76999-40360/root/chroot_tmpdir/scmroot/skopeo'... $ git reset --hard origin/a8-temp-1.2.2-8.module+el8.4.0+11818+341460ad HEAD is now at 89b26e6 import skopeo-1.2.2-8.module+el8.4.0+11818+341460ad.src.rpm