第一种

git remote rm origin 
git remote add origin git@github.com:account/eureka.git


第二种

#把url替换成新的url地址。
git remote origin set-url ${url}