$ git clone -n https://git.cclinux.org/stage/rpms/redis /var/lib/mock/module-redis-5-8040020211021130117-9f9e2e7e-build-43131-8574/root/chroot_tmpdir/scmroot/redis Cloning into '/var/lib/mock/module-redis-5-8040020211021130117-9f9e2e7e-build-43131-8574/root/chroot_tmpdir/scmroot/redis'... warning: redirecting to https://git.cclinux.org/stage/rpms/redis.git/ $ git reset --hard 7ca4dd788fa30fcd4a1fa958c712454bf1240345 HEAD is now at 7ca4dd7 import redis-5.0.3-5.module+el8.4.0+12927+b9845322