Git remote 修改源


Git remote 修改源

git remote remove origin # 删掉原来git源
git remote add origin [SSH or HTTP_URL] # 将新源地址写入本地版本库配置文件
git push -u origin master # 提交所有代码
原文地址:https://www.cnblogs.com/zhzhlong/p/9708325.html