Use git remote set-url origin git@github.com:User/project-new.git 转载于:https://www.cnblogs.com/casperwin/p/7649266.html