GIT central repository on Windows network share

James Young picture James Young · Jul 18, 2012 · Viewed 7.3k times · Source

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.

Answer

Adam Dymitruk picture Adam Dymitruk · Jul 18, 2012

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