Re: How to hide a git repository?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 24, 2008 at 05:40:22PM -0800, Gary Yang wrote:
> How to tell "git daemon" only to publish /pub/git/pub/linux/kernel ?

$ man git-daemon

<snip>
It verifies that the directory has the magic file
       "git-daemon-export-ok", and it will refuse to export any git directory
       that hasn´t explicitly been marked for export this way (unless the
       --export-all parameter is specified). If you pass some directory paths
       as git-daemon arguments, you can further restrict the offers to a
       whitelist comprising of those.
</snip>

Hope this helps

> 
> 
> --- On Mon, 11/24/08, Heikki Orsila <shdl@xxxxxxxxxx> wrote:
> 
> > From: Heikki Orsila <shdl@xxxxxxxxxx>
> > Subject: Re: How to hide a git repository?
> > To: "Gary Yang" <garyyang6@xxxxxxxxx>
> > Cc: git@xxxxxxxxxxxxxxx
> > Date: Monday, November 24, 2008, 4:37 PM
> > On Mon, Nov 24, 2008 at 04:32:58PM -0800, Gary Yang wrote:
> > > 
> > > We have two repositories, one is
> > /pub/git/dev/linux/kernel, another 
> > > is /pub/git/pub/linux/kernel. The
> > /pub/git/pub/linux/kernel is open to 
> > > public for people to download released code.
> > /pub/git/dev/linux/kernel 
> > > is used for our development. We would like to hide 
> > > /pub/git/dev/linux/kernel from public. How to do it?
> > 
> > Tell "git daemon" only to publish
> > /pub/git/pub/linux/kernel.
> > 
> > -- 
> > Heikki Orsila
> > heikki.orsila@xxxxxx
> > http://www.iki.fi/shd
> > --
> > To unsubscribe from this list: send the line
> > "unsubscribe git" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at 
> > http://vger.kernel.org/majordomo-info.html
> 
> 
>       
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Bruno Ribas - ribas@xxxxxxxxxxxx
http://www.inf.ufpr.br/ribas
C3SL: http://www.c3sl.ufpr.br
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux