Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting UP Central repository using GIT  RSS feed

 
Ramesh Sunkara
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

I am trying to setup a central repository for my project.

I decided to use git.

But unfortunately I couldn't do that.

Since all the available tutorials/manuals which says how to setup "GIT central repository on Window Server" were too old .Because all the software they told to use [ like msysgit,cop ssh,tortoise git ] are available in latest versions and the options mentioned in the tutorials & the options present in these software are not matching.

Especially using copssh is my problem.

Mean while I found that GIT can be used via HTTP and SSH also.

But I couldn't understand the advantage and dis-advantages between the above methods.

Can any one suggest or provide me manual how to do a setup?

 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the tutorial that I used: http://ao2.it/wiki/How_to_setup_a_GIT_server_with_gitosis_and_gitweb

I eventually ended up rejecting git for use at my company mainly because of the lame central repository support. By comparison, Mercurial comes with a built-in command to run a central repository (for low usage), and instructions for integrating with Apache HTTPD for higher usage. Additionally, Mercurial allowed HTTP/HTTPS to be use for both reads and writes but as far as I could tell git provided only read access via HTTP/HTTPS - writes required ssh access. Fat chance in getting that port opened in the corporate firewall!
 
Ramesh Sunkara
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Peter

Thanks for your time.

I checked the link which you used. But its not useful for me since am working on windows platform.
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I thought I had set it up on Windows but apparently I used Ubuntu. I suspect that you won't find any instructions for installing git on Windows - git is very Linux-centric. You will have to set up a Linux system and create your central git repo there.

There is a possible alternative - set up a central git repo on a Windows share, and then have each developer connect to that share to access the repository. That is one of the nice things about it - you don't have to set up a web site to have a remote repository, leveraging the file system works just as well.
 
Ramesh Sunkara
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly am trying to do the same you mentioned.

But struck in between due to lack of proper guide
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!