开发者

Git setup for 70 users in multiple location

I'm tasked to brinup git for 70 users located in multiple location. What could be the best approach ? Where ca开发者_运维问答n i start from ?

Planned following

bare repository ssh setup for RW access http setup for RO access

Let me know how to proceed ?

BRs


It sounds to me like you already have a planned approach, since you have no specific problem I'd recommend you brush up on the git tutorials to make sure you are familiar with the software before deploying it to others.

Set up a central repository on a server, instruct the other users to download Git and pull from the central repository using:

git clone http://yourserver.yourdomain.com/sharedproject.git

How you manage the VCS after this really depends on your requirements.

One approach is to have production builds made exclusively on one central server - have one privileged person with push (SSH) access to the server, and everyone elses work is pushed or pulled to that privileged person before a build.

There are, however, many other ways to manage your workflow with Git, and no single method suits everyone. You need to establish this workflow before attempting to fit a DVCS into it.


The beauty of git is that it really doesn't matter. Each developer can work on their own machine and push/pull from/to each other. It would certainly simplify things if a policy decision is made so that one repository is designated the "official" code base, perhaps a repo maintained by the project lead. It is common to store that repo on a machine that all developers can access and pull from, while only a few developers have access to push to it.


Your original approach is fine but if you want a semi github like experience, you can consider using gitorious.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜