Re: How to hide a git repository?
From: Bruno Cesar Ribas <hidden>
Date: 2016-06-15 22:45:41
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
quoted hunk ↗ jump to hunk
--- On Mon, 11/24/08, Heikki Orsila <shdl@zakalwe.fi> wrote:quoted
From: Heikki Orsila <redacted> Subject: Re: How to hide a git repository? To: "Gary Yang" <redacted> Cc: git@vger.kernel.org Date: Monday, November 24, 2008, 4:37 PM On Mon, Nov 24, 2008 at 04:32:58PM -0800, Gary Yang wrote:quoted
We have two repositories, one is/pub/git/dev/linux/kernel, anotherquoted
is /pub/git/pub/linux/kernel. The/pub/git/pub/linux/kernel is open toquoted
public for people to download released code./pub/git/dev/linux/kernelquoted
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@iki.fi http://www.iki.fi/shd -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
-- Bruno Ribas - ribas@c3sl.ufpr.br http://www.inf.ufpr.br/ribas C3SL: http://www.c3sl.ufpr.br