I know that raising the temperature in a reversible chemical reaction causes the equilibrium to shift to the endothermic side.

I know that ΔG=ΔH−TΔS but I don't know how to put them together to show why the equilibrium would shift.

To summarise, I already know what happens when, and I'm interested in **why**.