Windows网络共享上的GIT中央存储库 [英] GIT central repository on Windows network share

查看:123
本文介绍了Windows网络共享上的GIT中央存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们公司正在研究建立一个中央GIT存储库。在我们使用Windows时,我们一直在考虑使用基于以下文章的网络共享解决方案这里 here

然而,在考虑了这个之后,我有一些问题。 (警告 - 我是GIT的noob)


  1. 看来这个解决方案可能允许开发人员通过允许repo导致问题,他们映射到驱动器并使用文件播放(在GIT客户端之外)。有没有办法来防止这种情况?或者我在这里误解了什么?

  2. 如果您使用网络共享,服务器上的GIT安装实际上是否有用途?或者仅仅是客户来回分享。

  3. 任何有关最佳解决方案的建议都将值得赞赏。

感谢。

解决方案

在linux虚拟机上安装gitolite之前,这样你有很多管理选项。我强烈推荐gitolite。


Our company is looking at setting up a central GIT repository. As we are using Windows, we've been looking at using a network share solution, based on the following articles here and here.

However, after thinking about this I have some questions. (Warning - I'm a noob at GIT)

  1. It seems that this solution might allow developers to cause problems with the repo, by allowing them to map to the drive and play with the files (outside of the GIT client). Is there a way to prevent this? Or do I misunderstand something here?
  2. If your using network shares, does the GIT installation on the server actually have a purpose? Or is it just clients pushing back and forth from the share.
  3. Any advice on a best solution would be appreciated.

Thanks.

解决方案

What worked best before was an install of gitolite on a linux vm. This way you have many admin options. I highly recommend gitolite.

这篇关于Windows网络共享上的GIT中央存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆