$ git clone -n https://git.cclinux.org/stage/rpms/apache-commons-collections /var/lib/mock/module-javapackages-tools-201801-8030020210517173615-82c16c76-build-10380-2434/root/chroot_tmpdir/scmroot/apache-commons-collections Cloning into '/var/lib/mock/module-javapackages-tools-201801-8030020210517173615-82c16c76-build-10380-2434/root/chroot_tmpdir/scmroot/apache-commons-collections'... warning: redirecting to https://git.cclinux.org/stage/rpms/apache-commons-collections.git/ $ git reset --hard 4a7b4e69c760d63c64eb6408abbe877468dd69a2 HEAD is now at 4a7b4e6 import apache-commons-collections-3.2.2-10.module+el8+2598+06babf2e