git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nicolas Morey-Chaisemartin <devel@morey-chaisemartin.com>
To: garyyang6@yahoo.com
Cc: git@vger.kernel.org
Subject: Re: How to hide a git repository?
Date: Tue, 25 Nov 2008 07:15:12 +0100	[thread overview]
Message-ID: <492B97F0.5000409@morey-chaisemartin.com> (raw)
In-Reply-To: <900638.56188.qm@web37904.mail.mud.yahoo.com>

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@yahoo.com> wrote:
>
>   
>> From: Gary Yang <garyyang6@yahoo.com>
>> Subject: How to hide a git repository?
>> To: git@vger.kernel.org
>> 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@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
>
>
>   

  reply	other threads:[~2008-11-25  6:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25  0:32 How to hide a git repository? Gary Yang
2008-11-25  0:37 ` Heikki Orsila
2008-11-25  1:40   ` Gary Yang
2008-11-25  3:58     ` Bruno Cesar Ribas
2008-11-25  2:16 ` Gary Yang
2008-11-25  6:15   ` Nicolas Morey-Chaisemartin [this message]
2008-11-25 18:38   ` Daniel Barkalow
2008-11-25 19:01     ` Thomas Koch
2008-11-25 19:08       ` Daniel Barkalow
2008-11-25 20:10       ` Jakub Narebski
2008-11-25 21:03         ` Junio C Hamano
2008-11-25 21:19           ` Jakub Narebski
2008-11-25 21:46             ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=492B97F0.5000409@morey-chaisemartin.com \
    --to=devel@morey-chaisemartin.com \
    --cc=garyyang6@yahoo.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).