Xcode 4.6不会让我把我的项目推到git仓库 [英] Xcode 4.6 won't let me push my project to a git repo

查看:148
本文介绍了Xcode 4.6不会让我把我的项目推到git仓库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Xcode(一个使用C ++的命令行应用程序)中开始了一个新项目,并遇到了我在其他项目中没有遇到的问题:我可以成功提交文件,但无法将它们推送到repo,假装这些变化还没有实现(他们有)。



这里有个问题,同一个问题,但没有任何答案解决了我的问题。在组织者中,在我设置的远程回购下,提交显示,评论和所有,但我仍然无法设法将他们推送到远程回购。



编辑:我看到了另一个问题,问题是提问者试图推送到非裸仓库。我的回购是完全裸露的。



编辑2:我已经设法提交并且没有任何来自UNIX终端的打嗝。尽管如此,仍然无法弄清楚如何直接从Xcode中完成它。



有没有人遇到过这个问题,并找到了解决方案?


在使用命令行 git 来提交并将更改推送到远程仓库后,我重新启动了我的仓库电脑。现在,一切似乎都正常。


I've started a new project in Xcode (a command line app using C++), and am encountering a problem I haven't had in my other projects: I can successfully commit files, but can't push them to the repo, under the pretence that the changes haven't been committed yet (which they have).

There's a question here with the same issue, but none of the answers there solve my problem. In the organizer, under the remote repo I've set up, the commits show up, comments and all, but I still can't manage to push them to the remote repo.

EDIT: I've seen another question where the issue was that the asker was trying to push to a non-bare repository. My repo was completely bare.

EDIT 2: I've managed to commit and push without any hiccups from the UNIX terminal. Still can't figure out how to do it directly from Xcode, though.

Has anyone experienced this problem, and found a solution?

解决方案

After using the command line git to commit and push the changes to my remote repo, I restarted my computer. Now, everything seems to work fine.

这篇关于Xcode 4.6不会让我把我的项目推到git仓库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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