Git remote 修改源

来源:互联网 发布:淘宝公司签约 编辑:程序博客网 时间:2024/06/10 12:57
https://www.cnblogs.com/likwo/p/6102428.htmlGit remote 修改源
git commit -m "Change repo." # 先把所有为保存的修改打包为一个commitgit remote remove origin # 删掉原来git源git remote add origin [YOUR NEW .GIT URL] # 将新源地址写入本地版本库配置文件git push -u origin master # 提交所有代码
1
git remote set-url origin remote_git_address