Re: Permissions and authorisations in git repository
- From
- Harry Johnson <hjohnson@viasic.com>
- Date
- Jan 28, 2011, 17:01 UTC
- Message-ID
- <AANLkTi=W2Ni=0=hBw5d-2QkQz5tRaMeTLScRYOZhi=BQ@mail.gmail.com>
- In-Reply-To
- <4D42AEB9.3020008@terreactive.ch>
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 >