$ git clone -n https://src.fedoraproject.org/rpms/nheko.git /var/lib/mock/f40-build-803524-144285/root/chroot_tmpdir/scmroot/nheko Cloning into '/var/lib/mock/f40-build-803524-144285/root/chroot_tmpdir/scmroot/nheko'... $ git fetch origin 8afc1265e7da4c06b505114b1e4d0363e8d10283:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/nheko * [new ref] 8afc1265e7da4c06b505114b1e4d0363e8d10283 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8afc126 Fixed FTBFS on F40+.