第一种方法,删了重连
git remote rm origin
git remote add origin git@github.com:thorsy/repository.git
第二种方法直接修改
git remote origin set-url git@github.com:thorsy/repository.git
git remote rm origin
git remote add origin git@github.com:thorsy/repository.git
git remote origin set-url git@github.com:thorsy/repository.git