简体   繁体   English

git(osis)和Xcode

[英]git(osis) and Xcode

I installed (successfully) gitosis. 我成功安装了gitosis。 I want to use it at my debian (rootserver) to access my Xcode projects (and merge, etc.). 我想在我的debian(根服务器)上使用它来访问我的Xcode项目(以及合并等)。 I'm able to clone the git repo with Xcode successfully, but if I try to push some (committed) changes, Xcode tells me "Choose the Remote to witch to push the changes" But I can't select any. 我能够成功地用Xcode克隆git repo,但是如果我尝试推送一些(已提交的)更改,Xcode会告诉我“选择Remote巫婆来推送更改”,但是我无法选择任何内容。 I am able to push via Terminal.app, but that's not very comfortable. 我可以通过Terminal.app进行推送,但这不是很舒服。 So why is Xcode telling me, there are no remotes available? 那么,为什么Xcode告诉我,没有可用的遥控器? I tried to add the remote manually (it is something like "gitosis@myserver.com:repositories/gitosis-admin.git"), I tried with ssh://gitosis@my..., but this dosen't even work with terminal.app. 我尝试手动添加远程服务器(类似于“ gitosis@myserver.com:repositories / gitosis-admin.git”),我尝试使用ssh:// gitosis @ my ...,但此方法甚至无法正常工作与terminal.app。

So why is Xcode telling me "No Remotes available"? 那么,为什么Xcode告诉我“没有可用的遥控器”?

Go to the organizer, click repositories, click yours, go to remote, click add remote, should be able to add it from there. 转到组织者,单击存储库,单击您的存储库,再单击“远程”,再单击“添加远程”,应该可以从那里添加它。 should ask for verification and such. 应该要求核实等。 never used gitosis but that's how it works for git. 从来没有使用过gitosis,但这就是git的工作方式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM