$ git clone -n https://gitee.com/src-anolis-test/rubygem-mongo.git /var/lib/mock/dist-an8.4-internal-build-76969-40360/root/chroot_tmpdir/scmroot/rubygem-mongo Cloning into '/var/lib/mock/dist-an8.4-internal-build-76969-40360/root/chroot_tmpdir/scmroot/rubygem-mongo'... $ git reset --hard origin/a8-temp-2.8.0-1.module+el8.1.0+3653+beb38eb0 HEAD is now at 1adaad5 import rubygem-mongo-2.8.0-1.module+el8.1.0+3653+beb38eb0.src.rpm