$ git clone -n https://git.cclinux.org/stage/rpms/openjpeg2.git /var/lib/mock/dist-circle8-build-85601-30017/root/chroot_tmpdir/scmroot/openjpeg2 Cloning into '/var/lib/mock/dist-circle8-build-85601-30017/root/chroot_tmpdir/scmroot/openjpeg2'... $ git reset --hard 9f0bff3ee6d5018ed08b09a64166d3ea4502000e HEAD is now at 9f0bff3 import openjpeg2-2.4.0-5.el8