修改git仓库地址

200 阅读1分钟

在本地仓库想要把文件push到别的git仓库 终端执行命令: 1.git remote remove origin 删除当前仓库地址

2.git remote add origin 新remote地址 执行完之后就可以push了