do commit per each stage