$ git clone -n https://git.cclinux.org/stage/rpms/hamcrest /var/lib/mock/module-javapackages-tools-201902-8030020210610071017-30b713e6-build-22928-4411/root/chroot_tmpdir/scmroot/hamcrest Cloning into '/var/lib/mock/module-javapackages-tools-201902-8030020210610071017-30b713e6-build-22928-4411/root/chroot_tmpdir/scmroot/hamcrest'... warning: redirecting to https://git.cclinux.org/stage/rpms/hamcrest.git/ $ git reset --hard ddf2277d540d4c6c3ae93452ee71af55577ffa1f HEAD is now at ddf2277 import hamcrest-2.2-2.module+el8.2.0+4938+c0cffa5b