问题描述:

寒假之前用实验室电脑push到github 上head first java 的程序,寒假回家后,想用自己的笔记本继续编,继续push 。

我先从github下载zip到本地,然后 解压后,继续编程,但是用git push origin master 出现问题如下:

解决 failed to push some refs to 'git@github.com:zle1992/head-first-java' hint: Updates were rejected because the tip of your curr

试了很多方法,最终解决方案如下:

思路: 新建一个文件夹,用pull 命令把文件从github下载下来,编写好新的程序,git add  git commit  git push 

解决 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

 

 

 解决 failed to push some refs to 'git@github.com:zle1992/head-first-java' hint: Updates were rejected because the tip of your curr

 参考:

http://www.tuicool.com/articles/3aIvQfU

相关文章:

  • 2021-12-14
  • 2021-09-26
  • 2022-01-04
  • 2022-01-22
  • 2022-12-23
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-13
  • 2022-12-23
  • 2022-01-15
  • 2021-05-28
  • 2021-05-20
  • 2022-12-23
  • 2022-03-07
相关资源
相似解决方案