Commit after checkout.