Stuart Hellewell bickered with the woman at a mutual friend's house before the attack on November 27, last year, prosecutor Ian West said.
She later said the attack left her "depressed and upset," adding: "I can't believe Stuart has done this."
The court heard he was jailed for 15 months for assault occasioning actual bodily harm in 2013, and received 60 weeks for the same offence when he was last in court.
Man seriously ill in hospital as Doncaster city centre street cordoned off after assault
Major Doncaster bridge will be closed for a whole month for essential maintenance
Hosepipe ban for Doncaster as Yorkshire Water introduces drought restrictions
Watch: Ex-Red Arrows pilots create heart over Doncaster in surprise aerobatic display
Doncaster man's lost watch appeal after going home with 'lass whose name he can't remember'
Dermot Hughes, mitigating, said: "It wasn't an accident. He stands by his plea. Both parties were drunk. He has shown genuine remorse."
Hellewell, 34, of Simpson Place, Mexborough, pleaded guilty to unlawful wounding, on December 30.
At Sheffield Crown Court on Thursday Judge Peter Kelson QC sentenced him to 22 and a half months in prison.