github hint: Updates were rejected because the tip of your current branch is behind【git push失败解决方法】
今天用github把本地仓库的东西push到远程仓库时报错:
然后百度翻译了一下,大概意思是分支过期,被拒绝上传push
使用强制刷新命令 git push -f origin master
上传就行了。
今天用github把本地仓库的东西push到远程仓库时报错:
然后百度翻译了一下,大概意思是分支过期,被拒绝上传push
使用强制刷新命令 git push -f origin master
上传就行了。