I guess you could export the public one through git daemon and/or your web server, and access your private tree through SSH. This way you ensure only authentificated people will be able to clone your private tree. --- Nicolas Morey-Chaisemartin Gary Yang a écrit : > Do I have to create two git servers? One is for public to download the released code. For example: gitpub.mycompany.com:/pub/linux/kernel. gitpub.mycompany.com is accessible to public. Another is for internal development. For example: gitdev.mycompany.com:/dev/linux/kernel. gitdev.mycompany.com is only accessible to our development team. I push code from gitdev.mycompany.com:/dev/linux/kernel to gitpub.mycompany.com:/publinux/kernel once we completed our development. Is this the only way to do it? > > > --- On Mon, 11/24/08, Gary Yang <garyyang6@xxxxxxxxx> wrote: > > >> From: Gary Yang <garyyang6@xxxxxxxxx> >> Subject: How to hide a git repository? >> To: git@xxxxxxxxxxxxxxx >> Date: Monday, November 24, 2008, 4:32 PM >> 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? >> >> Why we want to hide /pub/git/dev/linux/kernel from public? >> We work on our development at /pub/git/dev/linux/kernel. We >> push our released code to /pub/git/pub/linux/kernel from >> /pub/git/dev/linux/kernel once we completed our development. >> We do not want people to download code from >> /pub/git/dev/linux/kernel since it is not stable. >> >> >> >> >> >> >> >> -- >> 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 > > > -- 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