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

Re: Can I forbid somebody to pull some branch or tag from my repo with git protocol?

From
EREmily Ren <lingyan.ren@gmail.com>
Date
Dec 17, 2008, 09:15 UTC
Message-ID
<856bfe0e0812170115p73d72495ve81046127e68c281@mail.gmail.com>
In-Reply-To
<7v1vw7p3r8.fsf@gitster.siamese.dyndns.org>

I want some group can pull these branches or tags from my repo, while other's can't, Need I maintain two repositories ?

On Wed, Dec 17, 2008 at 5:09 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
> "Emily Ren" <lingyan.ren@gmail.com> writes:
>
>> I created a repository, and I don't want somebody to pull some branch
>> or tag from my repository with git protocol. How can I do ?
>
> By not putting that tag or branch in that repository (note that you can
> have a repository only to publish which is different from your main
> working repository).
> .
>
Previous: Junio C HamanoNext: Sverre Rabbelier
Message 3 of 10 in “Can I forbid somebody to pull some branch or tag from my repo with git protocol?”
  1. Emily RenDec 17, 2008
  2. Junio C HamanoDec 17, 2008
  3. Emily RenDec 17, 2008
  4. Sverre RabbelierDec 17, 2008
  5. Emily RenDec 17, 2008
  6. Sverre RabbelierDec 17, 2008
  7. Emily RenDec 17, 2008
  8. Johannes SchindelinDec 17, 2008
  9. Junio C HamanoDec 17, 2008
  10. Johannes SchindelinDec 17, 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.