$ git clone -n https://git.cclinux.org/stage/rpms/redis /var/lib/mock/module-redis-5-8040020211021110038-9f9e2e7e-build-43147-8581/root/chroot_tmpdir/scmroot/redis Cloning into '/var/lib/mock/module-redis-5-8040020211021110038-9f9e2e7e-build-43147-8581/root/chroot_tmpdir/scmroot/redis'... warning: redirecting to https://git.cclinux.org/stage/rpms/redis.git/ $ git reset --hard 8bb19387b85ae2f555dee228773eead7b8326594 HEAD is now at 8bb1938 import redis-5.0.3-5.module+el8.4.0+12927+b9845322