$ git clone -n https://src.fedoraproject.org/rpms/caffe.git /var/lib/mock/f42-build-864743-172559/root/chroot_tmpdir/scmroot/caffe Cloning into '/var/lib/mock/f42-build-864743-172559/root/chroot_tmpdir/scmroot/caffe'... $ git fetch origin b12f2b77f2023fb727ef788b6f7b1f203ce0baf8:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/caffe * [new ref] b12f2b77f2023fb727ef788b6f7b1f203ce0baf8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b12f2b7 Rebuild for hdf5 1.14.5