check I can commit