pull for edit and commit