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

Re: Can git restrict source files ?

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Feb 19, 2013, 17:55 UTC
Message-ID
<CACBZZX7tHpUzW8pKjLi_4qm8w-n=FjResyRwZPK9qsyUzqpsMw@mail.gmail.com>
In-Reply-To
<DE551AEA-5C7D-4A2D-8AB4-33195EF351F8@gmail.com>
On Tue, Feb 19, 2013 at 5:06 PM, Juan Pablo <juanpablo8517@gmail.com> wrote:
> I have a question, can i control the access to specific files or folders ?? I need that some developers can't see some source files, thank you very much for your time

No, but what you can do is to split these up into different repositories. E.g. where I work we have a puppet.git and a secrets.git, the latter contains passwords and other secret data, the former just uses macros to include that and is accessible to everyone.

Previous: Matthieu Moy
Message 3 of 3 in “Can git restrict source files ?”
  1. Juan PabloFeb 19, 2013
  2. Matthieu MoyFeb 19, 2013
  3. Ævar Arnfjörð BjarmasonFeb 19, 2013

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.