git remote set-url origin your.newrepo.url
参考自stackoverflow:https://stackoverflow.com/questions/16330404/how-to-remove-remote-origin-from-git-repo
git clone一个仓库代码,然后提交到另一个仓库
原文:https://www.cnblogs.com/bneglect/p/12120038.html