Xcode4 布置Git环境Your working copy is out of date. Try pulling from the remote to get the latest change

时间:2023-03-09 19:37:19
Xcode4 布置Git环境Your working copy is out of date. Try pulling from the remote to get the latest change

今天布置环境的时候发现一个问题:Your working copy is out of date. Try pulling from the remote to get the latest changes, then push again.网上找了很多地方,全是英文的。。我滴个深深的去!!~ ~ = =,我天朝居然还没有人遇到过这个,好吧,自己想了想,发现貌似是由于自己remote中的名字和gitHub中的名字不一致,于是删掉重新改,然后把readme文件删掉,把.gitignore文件也删掉了,终于可以了!!

Xcode4 布置Git环境Your working copy is out of date. Try pulling from the remote to get the latest changeXcode4 布置Git环境Your working copy is out of date. Try pulling from the remote to get the latest change

Xcode4 布置Git环境Your working copy is out of date. Try pulling from the remote to get the latest change

Xcode4 布置Git环境Your working copy is out of date. Try pulling from the remote to get the latest change
Xcode4 布置Git环境Your working copy is out of date. Try pulling from the remote to get the latest change

后话:后面经过试验发现果然是readme的问题,gitHub下新建了一个repository后取消了初始新建readme文件,重新push一遍,搞定!