$ git clone -n https://src.fedoraproject.org/rpms/hedgewars.git /var/lib/mock/f40-build-792018-138073/root/chroot_tmpdir/scmroot/hedgewars Cloning into '/var/lib/mock/f40-build-792018-138073/root/chroot_tmpdir/scmroot/hedgewars'... $ git fetch origin b2f30a0a3bc4a2057c9b841012686b8170c4cea3:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/hedgewars * [new ref] b2f30a0a3bc4a2057c9b841012686b8170c4cea3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b2f30a0 Fix FTBFS (rhbz#2225917)