There is a great book called: The Hour was one of Horror" about the fight on east Cemetery Hill and mentions
the flags and the units that eveyone else has mentioned. It is a paperback written by one of the Gettysburg Guides I think by John Archer. Also check the website of the 17th Connecticut Infantry and the section on Gettysburg ( William Warren Papers)
Jeff H. Grzelak 17th Connecticut Infantry