0

I have windows server 2003 as my Operating Systme.

I am using WAMP for my php development.

I am using Eclipse Helios for PHP Developers for my development.

I have installed msysgit and tortoiseGit which comes for windows to manage repositories.

I have installed egit plugin in eclipse to manage project with team members.

I have referred following tutorial for EGIT that I found using google

http://www.vogella.de/articles/EGit/article.html.

Now I have following problem.

I have create one php project with name 'gittest'

I created repository by right clicking on project -> team -> share -> git

Now when I tried to create its clone using git protocol, with following settings

URI: git://Myserver/websites/gittest/.git Host: Myserver Repository Path: /websites/gittest/.git

it gives following error

Cannot list available branches
Reason: git://Myserver/websites/gittest/.git: Connection refused: connect

same problem occurs with other protocols like http,ssh,ftp etc.

Can anyone help me about how to set this protocols so that I can share project with other team members on local network

Thanks.

amar4kintu
  • 831
  • 11
  • 21
  • 32

2 Answers2

1

The git protocol requires a git server running on Myserver. The other protocols require server programs running too. You do not have that.

You can have an area on the local network which you set up as a git repository which everybody use with the file protocol, but this will then be available to all using that shared drive as this method does not use any protection mechanism.

You may need system administration knowledge to do this properly. I would suggest you bring this up with your local system administrator for best results.

Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
  • Hello Andersen, Thanks for reply. I did not get you exactly. What do I need to install to setup git server? also I have shared folder of my project with team members on network. Regarding system administrator, I am the only person to do it. So if you can give me some more details, I can try that. Between I have got this link(http://www.shannoncornish.com/blog/2009/04/git-server-windows-2008/). do you want me to do something like that? Can't msysGit work as server? – amar4kintu Feb 16 '11 at 11:43
  • msysgit is a port of the raw git command to Windows - it is not any of the servers you need. If I were in your situation I would strongly consider signing up with github and let them do the system administration for you - https://github.com/plans - as you are too inexperienced right now and may accidentially loose data. – Thorbjørn Ravn Andersen Feb 16 '11 at 17:52