简体   繁体   English

如何从msysgit获取源代码,以便Cruise Control.net可以构建

[英]How to get source code from msysgit so cruise control.net can build

I'm currently setting up a development environment at home to learn technologies I won't have a change to use at work. 我目前正在家里建立一个开发环境,以学习在工作中不会改变的技术。 I have setup msysgit on my local machine and I have a Virtual PC with cruise Control.Net installed. 我在本地计算机上安装了msysgit,并且安装了带有Cruise Control.Net的虚拟PC。 I'm the only developer on this project and I don't want to use a hosted git repository, as I'm doing this for a friend and he doesn't want the source code public. 我是该项目的唯一开发人员,并且我不想使用托管的git存储库,因为我是为一个朋友做的,并且他不想公开源代码。

Given that git doesn't have a central repository I'm not sure how to structure everything. 鉴于git没有中央存储库,所以我不确定如何构建所有内容。 How can I get the source code from git to cruise control so it can build? 如何从git到巡航控制获取源代码以便构建它? Should I use git demon, SSH or should I have the source on the cruise control machine and push from my development machine? 我应该使用git demon,SSH还是应该在定速巡航机器上使用源代码并从开发机器上推送?

For your setup I'm not sure it's worth setting up git-daemon or ssh. 对于您的设置,我不确定是否值得设置git-daemon或ssh。

I would simply have a repository on my development machine where I do all the work and keep a clone of it on the build machine using network shares. 我只是在开发机器上有一个存储库,在那里我完成所有工作,并使用网络共享将其克隆保存在构建机器上。 See this question on how to interact with git from CC. 请参阅有关如何与CC中的git交互的问题

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

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