原文:git push时报错:error: failed to push some refs to/hint: Updates were rejected because the tip of your current branch is behind/hint: its remote counterpart. Integrate the remote changes

在git push时报错: 看网上很多人说是因为本地仓库的文件和远程仓库不一样,所以要先用命令git pull f origin master将远程仓库的文件拉到本地,可是这样做之后再git push还是没有用,还是报同样的错误。 于是我就用git push f origin master强制push就成功了。 ...

2020-02-13 10:32 0 975 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM