$ git clone -n https://git.cclinux.org/stage/rpms/apache-commons-logging /var/lib/mock/module-javapackages-tools-201801-8030020210428060155-30b713e6-build-7821-2179/root/chroot_tmpdir/scmroot/apache-commons-logging Cloning into '/var/lib/mock/module-javapackages-tools-201801-8030020210428060155-30b713e6-build-7821-2179/root/chroot_tmpdir/scmroot/apache-commons-logging'... warning: redirecting to https://git.cclinux.org/stage/rpms/apache-commons-logging.git/ $ git reset --hard 8462e4a5d348b39400f7353971fe32386644366a HEAD is now at 8462e4a import apache-commons-logging-1.2-13.module+el8+2598+06babf2e