git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How to hide a git repository?

From
NMNicolas Morey-Chaisemartin <devel@morey-chaisemartin.com>
Date
Nov 25, 2008, 06:15 UTC
Message-ID
<492B97F0.5000409@morey-chaisemartin.com>
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 :
Show 47 quoted lines
> 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
>
>
>   
Previous: Gary YangNext: Daniel Barkalow
Message 6 of 13 in “How to hide a git repository?”
  1. Gary YangNov 25, 2008
  2. Heikki OrsilaNov 25, 2008
  3. Gary YangNov 25, 2008
  4. Bruno Cesar RibasNov 25, 2008
  5. Gary YangNov 25, 2008
  6. Nicolas Morey-ChaisemartinNov 25, 2008
  7. Daniel BarkalowNov 25, 2008
  8. Thomas KochNov 25, 2008
  9. Daniel BarkalowNov 25, 2008
  10. Jakub NarebskiNov 25, 2008
  11. Junio C HamanoNov 25, 2008
  12. Jakub NarebskiNov 25, 2008
  13. Junio C HamanoNov 25, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.