![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
258258ch
前端学习小白
展开
-
使用git remote add origin ssh链接报错 error: remote origin already exists.
以上情况,应该先查看远程库情况 git remote -v 移除本地 git remote rm origin 然后重新添加 git remote add origin ssh链原创 2022-03-31 00:23:44 · 1371 阅读 · 0 评论 -
git的远程仓库使用
1.安装git 2.gitee上建立仓库 配置公钥 (打开gitbash 具体见https://gitee.com/help/articles/4181#article-header0) 3.复制公钥到ssh里面 4。终端打开项目文件夹输入口令 git init 初始化 git commit -m "init vshop" 然后关联仓库地址 git remote add origin +仓库地址 然后git push origin +分支名字 一般为master ...原创 2022-03-20 22:50:24 · 236 阅读 · 0 评论