fatal: remote origin already exists.
解决办法:
git remote rm origin
git 上传项目的基本步骤
初始化git
git init
建立远成仓库连接
git remote add origin git@192.168.2.250:collins/front.git
添加文件
git add
提交
git commit -m "备注"
push到远程仓库
git push origin master
这中间可能有其他的步骤,比如让你设置邮箱名
git config --global user.email "[email protected]"
以及让你设置姓名
git config --global user.name "wangdaopeng"