$ git clone -n https://git.cclinux.org/stage/rpms/infiniband-diags.git /var/lib/mock/dist-circle8-build-37006-6502/root/chroot_tmpdir/scmroot/infiniband-diags Cloning into '/var/lib/mock/dist-circle8-build-37006-6502/root/chroot_tmpdir/scmroot/infiniband-diags'... $ git reset --hard 276b639804cc04840eb8bf6d0a951b4fa47d4869 HEAD is now at 276b639 import infiniband-diags-2.2.0-3.el8