Patter confusion

So I am getting ready to start a baby hat pattern that I found. However since I am realitivily new to this, I am confused with some of the insturctions. When it says “work in Knit 2Purl 2 ribbing for 6 rows-
Knit 6 rows-Knit 2Purl 2 to end of row”. what does that mean? Would someone be kind enough to explain it to me?

M

You would k2, p2 across on each row for 6 rows, then knit all stitch for 6 rows, then go back to k2 p2 on every row for another 6 rows.