“本地存储库已过时"....我没有分支如何解决这个问题 [英] "The Local repository is out of date"....i have no branch how to solve this

查看:30
本文介绍了“本地存储库已过时"....我没有分支如何解决这个问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们将代码推送到远程服务器时,Xcode 显示以下警告.另见附件截图

When we push the code to the remote server Xcode shows the below warning. Also see the attached screenshot

本地存储库已过时.

我没有分支或任何其他工作副本.

I have no branch or any other working copy.

推荐答案

该警告是因为其他人会在您上次拉出您的存储库后推送到您的存储库.您需要从 repo 中提取,合并您的代码,然后您将能够再次推送

that warning is because someone else would have pushed to your repo after the last time you pulled from it. you will need to pull from the repo, merge your code and then you will be able to push again

这篇关于“本地存储库已过时"....我没有分支如何解决这个问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆