Commit changes and then pull