今天拉取别人git项目,想把它放到自己已有的git项目中,结果git提示
使用有道翻译
git branch -a 查看所以分支,因为是拉取别人项目git时与远程仓库源未断开
解决方法:
1、先删除远程 Git 仓库
$ git remote rm origin
2、再添加自己刚创建的远程 Git 仓库
git remote add origin https://gitee.com/meng-jiawei/baidu-eagle-eye.git
成功
今天拉取别人git项目,想把它放到自己已有的git项目中,结果git提示
使用有道翻译
git branch -a 查看所以分支,因为是拉取别人项目git时与远程仓库源未断开
解决方法:
1、先删除远程 Git 仓库
$ git remote rm origin
2、再添加自己刚创建的远程 Git 仓库
git remote add origin https://gitee.com/meng-jiawei/baidu-eagle-eye.git
成功