The Israeli military said it had targeted a senior Hamas commander in Gaza City, without giving a name or details.