http://114.215.90.144/student_association/student.git
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'git 版本落后推送错误http://114.215.90.144/student_association/student.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
 
 
方法一:把本地文件复制一份,然后在把项目从仓库中拉下来
 
方法二:使用git强制推送命令 git push -f all

 

方法三: 第一步 :git push origin +some_branch
                 第二步:git push -u origin master

相关文章:

  • 2021-06-11
  • 2022-01-30
  • 2021-06-15
  • 2021-04-08
  • 2021-05-25
  • 2021-12-14
  • 2021-12-03
  • 2021-07-28
猜你喜欢
  • 2021-10-20
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
  • 2022-12-23
相关资源
相似解决方案