public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* Setting up git server?
@ 2006-06-15 23:19 lamikr
  2006-06-26  7:55 ` Andreas Ericsson
  0 siblings, 1 reply; 2+ messages in thread
From: lamikr @ 2006-06-15 23:19 UTC (permalink / raw)
  To: git

Hi

I have git-repo cloned from the linux-omap-2.6 that we have used as a
base for our h6300 development.
Earlier we have kept our kernel in svn (sync between git-branches and
svn has happened about once in a month by using
traditional diff files...)

I have now pulled the server to "/repos/git/linux-omap-h6300-2.6" and
setup the /etc/xinetd.d/git-daemon by using docs in
http://www.kernel.org/pub/software/scm/git/docs/everyday.html

How can I now create the git url for this? For example something like
this: git://aragorn.kortex.jyu.fi/repos/git/linux-omap-h6300-2.6.git

Mika

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Setting up git server?
  2006-06-15 23:19 Setting up git server? lamikr
@ 2006-06-26  7:55 ` Andreas Ericsson
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Ericsson @ 2006-06-26  7:55 UTC (permalink / raw)
  To: lamikr; +Cc: git

lamikr wrote:
> Hi
> 
> I have git-repo cloned from the linux-omap-2.6 that we have used as a
> base for our h6300 development.
> Earlier we have kept our kernel in svn (sync between git-branches and
> svn has happened about once in a month by using
> traditional diff files...)
> 
> I have now pulled the server to "/repos/git/linux-omap-h6300-2.6" and
> setup the /etc/xinetd.d/git-daemon by using docs in
> http://www.kernel.org/pub/software/scm/git/docs/everyday.html
> 
> How can I now create the git url for this? For example something like
> this: git://aragorn.kortex.jyu.fi/repos/git/linux-omap-h6300-2.6.git
> 


Assuming '/repos' is in your root directory, do

touch /repos/git/linux-omap-h6300-2.6.git/git-daemon-export-ok

This will mark the repo as allowed to export for the git-daemon, and 
then you can tell people to pull from the url you mentioned.

For those that need push access you will need to setup ssh accounts. It 
is easier if they also pull over ssh+git, using a similar url but 
replacing "git://" with "ssh://" (or "git+ssh://").

-- 
Andreas Ericsson                   andreas.ericsson@op5•se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-26 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-15 23:19 Setting up git server? lamikr
2006-06-26  7:55 ` Andreas Ericsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox