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