How to create a git server

This is a good and easy tutorial:

http://www.erickcantwell.com/2011/01/setting-up-a-personal-git-repository/

but there is one correction as the following:

the line:
git remote add testbed git@testbed:/home/git/first

should be changed to:
git remote add testbed ssh://git@testbed:/home/git/first

and, if the ssh service is on a different port (e.g. 2222), it should be:
git remote add testbed ssh://git@testbed:2222/home/git/first

Here are other tutorials:

http://haulynjason.blogspot.it/2011/01/setup-your-own-git-server-using.html

http://tumblr.intranation.com/post/766290565/how-set-up-your-own-private-git-server-linux

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s