git server simple and secure git server for windows

Deploy ASP.NET websites with ease using Git! Faster than differential transmission, git uses a tree of file hashes to track and send only files that have been modified. Roll back in milliseconds!

Getting started

Update (2013-06-20): Due to unresolvable issues with OpenSSH on certain Windows installations, we are discontinuing WindowsGit maintenance

We suggest you try the free, open-source Bonobo Git Server instead.

  1. Download and run the WindowsGit installer on the server (14€)

Note: Version 1.1.0 is now available. Users of 1.0 should upgrade.

Connecting to the server

  1. Download the Key Tool on your client computer(s) to get or create your ‘public key’.
  2. On the server, go to Start > CopSSH > CopSSH Control Panel. In the control panel, click the ‘Users’ tab, then ‘Add’. Choose the ‘git’ user and accept all defaults. (You only have to do this once)
  3. In the Users tab, select ‘git’, then click ‘Keys’. Click Import, then paste in the key you copied in step 2. Click Apply, then click Apply again.
  4. You can now connect to the server. I personally recommend using SmartGit, as it has a very easy-to-use interface and works on all platforms. When connecting to the server, you will need to enter the Repository URL from step #3 of the following section.

Creating a repository

  1. (On the server) Go to Start > Cop SSH > 02. Start a Unix BASH Shell
  2. Type git init --bare /home/git/myapp.git and hit enter.
  3. You’re done. The repository URL will be ssh://git@yourservernameoripaddress/home/git/myapp.git (Substitute the IP address or domain name of your server)

Please note - Administrator privileges are required to install this on the server, and UAC must be disabled.

Alternatives

http://gitblit.com/