$ git clone -n https://git.cclinux.org/stage/rpms/redis /var/lib/mock/module-redis-6-8040020210921105552-9f9e2e7e-build-40535-7580/root/chroot_tmpdir/scmroot/redis Cloning into '/var/lib/mock/module-redis-6-8040020210921105552-9f9e2e7e-build-40535-7580/root/chroot_tmpdir/scmroot/redis'... warning: redirecting to https://git.cclinux.org/stage/rpms/redis.git/ $ git reset --hard 0b48b4343677a0a14142fe3f2fc99fd9165c7af3 HEAD is now at 0b48b43 import redis-6.0.9-3.module+el8.4.0+10984+ed187465