# How to give permission to another user on my git remote

2 messages from 2014-08-11 to 2014-08-11. Participants: Jagan Teki, Stefan Beller.
Thread: https://gitlist.dev/t/37327

## Jagan Teki, 2014-08-11 11:41

Subject: How to give permission to another user on my git remote
Message-ID: <CAD6G_RTP5AQC8wjz17ghGBGbJ95t=kn5rRAgSaGaM-QCxi2mtA@mail.gmail.com>
URL: https://gitlist.dev/e/CAD6G_RTP5AQC8wjz17ghGBGbJ95t%3Dkn5rRAgSaGaM-QCxi2mtA%40mail.gmail.com

```
Hi,

I have created one repository (but I'm not a root user on the server) like
$ git init --bare

And I do push my changes locally to remote repo where I created.
My friend also working the same repo, and he needs to push the changes
on the same.

I tried by adding below line on the remote config file
[config]
        sharedRepository = true

Any help, how to do that.

-- 
Jagan.

```

## Stefan Beller, 2014-08-11 11:56

Subject: Re: How to give permission to another user on my git remote
Message-ID: <53E8AF5E.3070807@gmail.com>
URL: https://gitlist.dev/e/53E8AF5E.3070807%40gmail.com
In-Reply-To: <CAD6G_RTP5AQC8wjz17ghGBGbJ95t=kn5rRAgSaGaM-QCxi2mtA@mail.gmail.com>

```
On 11.08.2014 13:41, Jagan Teki wrote:
> Hi,
> 
> I have created one repository (but I'm not a root user on the server) like
> $ git init --bare
> 
> And I do push my changes locally to remote repo where I created.
> My friend also working the same repo, and he needs to push the changes
> on the same.
> 
> I tried by adding below line on the remote config file
> [config]
>         sharedRepository = true
> 
> Any help, how to do that.
> 

Please see
http://git-scm.com/book/en/Git-on-the-Server-Getting-Git-on-a-Server
to explore different ways how to use git on a server.

Stefan

```
