本地存储库已过期.确保已从远程存储库中提取所有更改,然后重试

Tom*_*scu 7 git xcode github

我是Git的新手,我正在尝试将我的branch(With_Base_Class)与Xcode中的远程主分支合并.

我尝试了提交和拉入每个可能的顺序(我希望),但每次我收到以下错误:

The local repository is out of date. 
Make sure all changes have been pulled from the remote repository and try again.
Run Code Online (Sandbox Code Playgroud)

这是我收到错误的视频:

https://youtu.be/sEfSnnHONkU

我究竟做错了什么?

任何帮助表示赞赏.

谢谢!

har*_*ami 19

试试这个git命令

git push origin master --force