当前位置:   article > 正文

github hint: Updates were rejected because the tip of your current branch is behind【git push失败解决方法】

github hint: Updates were rejected because the tip of your current branch is behind【git push失败解决方法】

今天用github把本地仓库的东西push到远程仓库时报错:

然后百度翻译了一下,大概意思是分支过期,被拒绝上传push
在这里插入图片描述
使用强制刷新命令 git push -f origin master 上传就行了。
在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/497673
推荐阅读
相关标签
  

闽ICP备14008679号