Added reset command before checkout.
Merge pull request #457 from alexjacks92/master

Added reset command before checkout.