http://114.215.90.144/student_association/student.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to '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.
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to '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
所有评论(0)