首页 > 代码库 > 解决 failed to push some refs to 'git@github.com:zle1992/head-first-java' hint: Updates were rejected because the tip of your curr
解决 failed to push some refs to 'git@github.com:zle1992/head-first-java' hint: Updates were rejected because the tip of your curr
问题描述:
寒假之前用实验室电脑push到github 上head first java 的程序,寒假回家后,想用自己的笔记本继续编,继续push 。
我先从github下载zip到本地,然后 解压后,继续编程,但是用git push origin master 出现问题如下:
试了很多方法,最终解决方案如下:
思路: 新建一个文件夹,用pull 命令把文件从github下载下来,编写好新的程序,git add git commit git push
参考:
http://www.tuicool.com/articles/3aIvQfU
解决 failed to push some refs to 'git@github.com:zle1992/head-first-java' hint: Updates were rejected because the tip of your curr
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。