Xcode 4.4 - no remotes found

2020-04-05 07:48发布

Post-installation of 10.8 and Xcode 4.4 when I try to push to a remote using the Xcode integration Xcode is telling me 'no remotes found'. I am still able to push successfully via command line so my actual repositories are fine. I've installed the command line tools and have tried restarting Xcode several times. Additionally, if I go to Organizer and try to select the repository all I get is a spinning activity indicator. If I select 'remotes' for a given repository it's blank. Note that Xcode does recognize git is available though as it does show which files are modified and allows commits. Reported system git version in /usr/bin/ is:

git version 1.7.9.6 (Apple Git-31.1)

Is anyone else experiencing this, or do you have any suggestions for a remedy (or at least a place to look at a log to see what is going wrong)?

UPDATE 10/18/13

This issue has been resolved in Xcode 5.

标签: xcode git
8条回答
你好瞎i
2楼-- · 2020-04-05 08:43

you need first add a remote repository: git remote add yourname https://github.com/user/repo.git

and than push... and xcode find the remote repo and can push too.

查看更多
乱世女痞
3楼-- · 2020-04-05 08:45

1- search and apply the guideline. which is mentioned about "show all hidden files in mac finder". and delete .git directory (this folder wont appear without solving article-1)

2-XCode>Prefences>Accounts>Delete github account and close xcode. than open and reconfigure same github account by adding all over.

3-click the section small icon namely "source control navigation" (which is near the project navigator). as you right click a popup will appear. and choose create blabla on github". actually this steps solved same issue.

查看更多
登录 后发表回答