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

Re: Can git restrict source files ?

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Feb 19, 2013, 16:17 UTC
Message-ID
<vpq4nh8p9bj.fsf@grenoble-inp.fr>
In-Reply-To
<DE551AEA-5C7D-4A2D-8AB4-33195EF351F8@gmail.com>
Juan Pablo <juanpablo8517@gmail.com> writes:
Show 5 quoted lines
> Hi, 
>
> 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, you can't. You can use e.g. gitolite to set up access control for a branch, but Git needs access to the complete tree.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Juan PabloNext: Ævar Arnfjörð Bjarmason
Message 2 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.