Before the Battle of Gettysburg, the Confederacy defeated the Union at Chancellorville, Virginia. Then, they decided to invade the North in Gettysburg. That's about a 129 mile march! To make matters worse, most of the Confederate troops were barefoot. When Hill heard the news about meeting up with Lee, and getting shoes for his men, in Gettysburg, he was about 25 miles away. Also, the two ridges were about a mile apart, so that's another mile added to the total walking distance. By the second day of Gettysburg, the walking distance was starting to take it's toll on the Confederates, especially when Chamberlain ordered a bayonet charge at them.