just makign sure all is committed before pushing -- including the restoring state, etc