$ git clone -n https://gitee.com/src-opencloudos-rpms/redis /var/lib/mock/module-redis-5-8050020220620083549-c7643c7d-build-10424-1725/root/chroot_tmpdir/scmroot/redis Cloning into '/var/lib/mock/module-redis-5-8050020220620083549-c7643c7d-build-10424-1725/root/chroot_tmpdir/scmroot/redis'... $ git reset --hard 0ecb294dc0fbeb4c79e6c74d98e591a45cb4d94a HEAD is now at 0ecb294 import redis-5.0.3-5.module_oc8.4.0+955+7126e393