Chelsea Hurst, 25, pleaded guilty to assaulting Lauren Brough and repeatedly striking her on the head with a bottle in Hawick’s Branxholme Road on August 2 last year.
Procurator fiscal Graham Fraser said there appeared to have been an association between the women through an ex-partner and issues had arisen over a child.
He explained: “It was around 7pm and the accused started an argument and struck her three times on the head with a bottle. Drink had been involved.”
Mr Fraser said the victim sustained five cuts on her scalp and forehead which were two inches in length and all had to be cleaned and glued.
The court was told that Hurst, of Nelson Village, Cramlington, Northumberland, had been of good behaviour since December.
Sheriff Derrick McIntyre said: “Compensation would be appropriate in this case.”