commiting what needs to be commited