auto commit for upload to remote