Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xcode 5.1看不到我的远程存储库_Xcode_Git - Fatal编程技术网

Xcode 5.1看不到我的远程存储库

Xcode 5.1看不到我的远程存储库,xcode,git,Xcode,Git,我正在尝试在linux机器上为通过CD继承的应用程序设置远程存储库。但当我试图将源代码推送到新的存储库时,存储库行显示“无远程”。我确实看到了我没有设置的MailCore内容 Source Control-> Push Push local changes: MOPASource No remotes MailCore origin/master IOSPorts origin/(detached from 2b..) Libetpan origin/(detached

我正在尝试在linux机器上为通过CD继承的应用程序设置远程存储库。但当我试图将源代码推送到新的存储库时,存储库行显示“无远程”。我确实看到了我没有设置的MailCore内容

Source Control-> Push
Push local changes:
MOPASource No remotes
MailCore    origin/master
IOSPorts    origin/(detached from 2b..)
Libetpan    origin/(detached from 6c..)
这就是我所做的: 在linux机器上,SA安装了git,然后我创建了git存储库。 cd~帐户/档案 mkdir–第775页MOPA git初始化

Xcode->Preferences Accounts tab I added the repository information successfully to Xocde:
Address:  ssh://acount@X.X.X.X/home/archives/MOPA/.git
User Name:  account
Password:  account password
Description: .git
在确保所有本地文件都已提交后,我尝试推送到远程,但遇到了无远程问题

然后我试着推动命令行,认为这会起作用,但git说linux上没有任何东西

git remote add origin account@x.x.x.x/home/account/archives/MOPA/.git
在遥控器上,我看到: lasarus3:/home/account/archives/MOPA>git状态 #论分行行长 # #初始提交 # 无需提交(创建/复制文件并使用“git add”跟踪)

Should I just ssh the local .git directory to the remote site?  What am I missing?