threads / discuss / 37327

How to give permission to another user on my git remote

Subject: How to give permission to another user on my git remote

## tl;dr

2 messages between Aug 11, 2014 and Aug 11, 2014.

replies: 1people: 2as markdown or json

Jagan Teki· Aug 11, 2014, 11:41 UTC · lore
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· Aug 11, 2014, 11:56 UTC · re: Jagan Teki · lore

Re: How to give permission to another user on my git remote

On 11.08.2014 13:41, Jagan Teki wrote:
Show 15 quoted lines
> 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

← back to recent threads