$ git clone -n https://git.cclinux.org/stage/rpms/apache-commons-io /var/lib/mock/module-javapackages-tools-201902-8030020210612125541-a623df05-build-24976-4510/root/chroot_tmpdir/scmroot/apache-commons-io Cloning into '/var/lib/mock/module-javapackages-tools-201902-8030020210612125541-a623df05-build-24976-4510/root/chroot_tmpdir/scmroot/apache-commons-io'... warning: redirecting to https://git.cclinux.org/stage/rpms/apache-commons-io.git/ $ git reset --hard 24d97c22ab5965b0b77eba4be103dae103c47d73 HEAD is now at 24d97c2 import apache-commons-io-2.6-6.module+el8.3.0+6804+157bd82e