1

I need to setup a Git server on windows 7 with IIS to test my EGit with eclipse. Eventually it would be use to checkout and checkin from a remote server. But I would like to test the remote checkout and checkin for EGit using a local server as of now. I have tested it to work with Github (only https not SSH, SSH seemed to have a problem). But I would like to host my own git remote server for EGit. Please let me know as to how to go about it. Thanks in advance.

1 Answer 1

0

You can use the "Git Web Access" project:

For those who have interests in a Smart-HTTP Git server on IIS, the project provides an ASP.NET HttpHandler that let you run Smart HTTP Git on IIS.
It is inspired by Grack, a Ruby Rack based application for Smart HTTP Git and git_http_backend.py, a python implementation of Smart HTTP Git.

You also can try out the "Bonobo-Git-Server" project, through its main project page.

Bonobo Git Server for Windows is a web application you can install on your IIS and easily manage and connect to your git repositories.

You will find other alternatives (sometime older) in "How to setup GIT bare HTTP-available repository on IIS-machine".

5
  • Thank you so much for the feedback. I set up msysgit as specified in codeproject.com/Articles/296398/… and got it running on loclhost. Then on Amazon on a linux instance, i used gitolite (which uses only ssh mode). I am sure if I would have tried out your solution, it would work. Aug 8, 2012 at 8:07
  • @suchitranair Excellent. Minor point. Gitolite doesn't "only" uses ssh mode. It is an authorization layer which will rely primarily on ssh for the authentication, but can be linked other mechanisms like an http server / LDAP authentication. See "authentication versus authorisation": sitaramc.github.com/gitolite/auth.html
    – VonC
    Aug 8, 2012 at 8:34
  • Thank you so much. I was wondering how to get it done in case I needed to have http authentication. I'll surely take a look at it. Aug 8, 2012 at 8:54
  • @suchitranair see my httpd.conf example, where I call gitolite after an LDAP authentication. github.com/VonC/compileEverything/blob/master/apache/…
    – VonC
    Aug 8, 2012 at 8:58
  • Thanks a lot :). I will be taking this up after sometime. I am sure I will have a lot of queries then and now I know where to return for answers :) Aug 8, 2012 at 9:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.