threads / discuss / 26357

Re: Permissions and authorisations in git repository

Subject: Re: Permissions and authorisations in git repository

## tl;dr

2 messages between Jan 28, 2011 and Jan 28, 2011.

replies: 1people: 2as markdown or json

Victor Engmark· Jan 28, 2011, 11:55 UTC · lore
On 01/28/2011 12:41 PM, vikram2rhyme wrote:
Show 8 quoted lines
>
> Hello friends
> I am wondering if there are any permission and authorization control over
> git
> repository. I have gone through git manual but there is no discussion on it.
> On the internet i searched but hardy i found anything. Please help me if
> there
> is any permission control in distributed environment in git repository

Git is independent of access control mechanisms - You can use whatever you want. For example, you could use the filesystem read/write permissions on a directory to control local access, or SSH permissions to allow remote access. See for example GitHub, which uses different protocols for different levels of access.

HTH,
-- 
Victor Engmark
Harry Johnson· Jan 28, 2011, 17:01 UTC · re: Victor Engmark · lore

Git is independent of access control mechanisms to some degree, however, if you use ssh and share a repository with other users you will want to look into the core.sharedRepository config setting. Took me a while to discover this.

Check 'git help config' and search for shared for the details.

HTH, -Harry

On Fri, Jan 28, 2011 at 6:55 AM, Victor Engmark <victor.engmark@terreactive.ch> wrote:

Show 25 quoted lines
> On 01/28/2011 12:41 PM, vikram2rhyme wrote:
>>
>> Hello friends
>> I am wondering if there are any permission and authorization control over
>> git
>> repository. I have gone through git manual but there is no discussion on
>> it.
>> On the internet i searched but hardy i found anything. Please help me if
>> there
>> is any permission control in distributed environment in git repository
>
> Git is independent of access control mechanisms - You can use whatever you
> want. For example, you could use the filesystem read/write permissions on a
> directory to control local access, or SSH permissions to allow remote
> access. See for example GitHub, which uses different protocols for different
> levels of access.
>
> HTH,
> --
> Victor Engmark
> --
> 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
>

← back to recent threads