committing before checkout