$ git clone -n https://gitee.com/src-opencloudos-rpms/redis /var/lib/mock/module-redis-6-8060020221212022706-e829d8bc-build-30085-8820/root/chroot_tmpdir/scmroot/redis Cloning into '/var/lib/mock/module-redis-6-8060020221212022706-e829d8bc-build-30085-8820/root/chroot_tmpdir/scmroot/redis'... $ git reset --hard cfcff9aede3f3c878fd5dc25346c743f36d622c1 HEAD is now at cfcff9a import redis-6.2.7-1.module+oc8.6.0+373+69e84226