despite orders to the contrary by general lee , maj. gen. henry heth , the commander of the confederates third corps , orders his troops to attack the union forces defending the northern side of town .