$ git clone -n https://src.fedoraproject.org/rpms/xkeycaps.git /var/lib/mock/f41-build-852756-166469/root/chroot_tmpdir/scmroot/xkeycaps Cloning into '/var/lib/mock/f41-build-852756-166469/root/chroot_tmpdir/scmroot/xkeycaps'... $ git fetch origin 522599ce43bd477261a1190b46e93a6b0f15a3c6:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/xkeycaps * [new ref] 522599ce43bd477261a1190b46e93a6b0f15a3c6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 522599c fix cast issues causing FTBFS