$ git clone -n https://git.cclinux.org/stage/rpms/apache-commons-exec /var/lib/mock/module-javapackages-tools-201902-8030020210612012006-a623df05-build-24159-4496/root/chroot_tmpdir/scmroot/apache-commons-exec Cloning into '/var/lib/mock/module-javapackages-tools-201902-8030020210612012006-a623df05-build-24159-4496/root/chroot_tmpdir/scmroot/apache-commons-exec'... warning: redirecting to https://git.cclinux.org/stage/rpms/apache-commons-exec.git/ $ git reset --hard e10c0c4b9ff24f2a14d4e537936206b6c6a6230f HEAD is now at e10c0c4 import apache-commons-exec-1.3-10.module+el8.2.0+4938+c0cffa5b