摘要: 执行 git push -u origin master 报错如下: 解决: git pull --rebase origin master 再执行 git push -u origin master 阅读全文
posted @ 2020-01-17 17:07 Mr.渣、 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 在上传本地代码到github仓库时,出现下面这个问题: fatal: remote origin already exists. 解决方法: 1.先移除 git remote rm origin 2.再次添加 $ git remote add origin https://github.com/** 阅读全文
posted @ 2020-01-17 16:57 Mr.渣、 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 一.下载并安装git。 地址:https://git-scm.com/downloads 二.接下来,就是如何上传项目。 (对于第一次上传项目的同学来说,也是最容易出错) 1、注册github账号,这里就不说怎么注册了。 2、配置ssh,这一步非常重要,很多出错的原因就是没有进行这一步。 ①在桌面右 阅读全文
posted @ 2020-01-17 16:46 Mr.渣、 阅读(133) 评论(0) 推荐(0) 编辑