only do git reset if requested
we don't need to reset every time. it wastes time, and is only for if you get problems