I believe Samuel Watkins wrote about forming into a square to repel cavalry it in his book "Company Aytch" sometime in the Georgia campaign.
David