$ git clone -n https://src.fedoraproject.org/rpms/kinfocenter.git /var/lib/mock/f42-build-862520-170850/root/chroot_tmpdir/scmroot/kinfocenter Cloning into '/var/lib/mock/f42-build-862520-170850/root/chroot_tmpdir/scmroot/kinfocenter'... $ git fetch origin 015d3aa527f0a3396d3999fba99fe28f65c7236d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kinfocenter * [new ref] 015d3aa527f0a3396d3999fba99fe28f65c7236d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 015d3aa 6.2.4