git部署出现的问题

git部署出现的问题 error: remote origin already exists. ! [remote rejected] master - master (hook declined)
一、**出错信息:**fatal: remote origin already exists.
解决方法:
1、先删除远程 Git 仓库

$ git remote rm origin

2、再添加远程 Git 仓库

  git remote add origin git@gitee.com:ferry18829517728/vue_shop.git
上一篇:Git 报错:fatal: destination path ‘.‘ already exists and is not an empty directory.


下一篇:解决流只能读一次的问题,getInputStream() has already been called for this request