$ git clone -n https://src.fedoraproject.org/rpms/SDL_image.git /var/lib/mock/f40-build-786558-134413/root/chroot_tmpdir/scmroot/SDL_image Cloning into '/var/lib/mock/f40-build-786558-134413/root/chroot_tmpdir/scmroot/SDL_image'... $ git fetch origin ad3f4eddc7ba5472472e20072d8fb7ad97684c27:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/SDL_image * [new ref] ad3f4eddc7ba5472472e20072d8fb7ad97684c27 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ad3f4ed Patch for modern C