Thanks Thomas so much :).

I have another naive question please forgive me

On my server I have user called git and it belongs to "users" group.
so I chown of the shared repository to git:users. so any user except
than git will not have access to the repository. but I want other
machine users like user1 belongs to group "u1" and user2 belongs to
group "u2" clone this repository and have access to pull and push. how
could I make this

what I do now user1> git clone ssh://git@server/repository

user1> git add *
user1> git commit -a -m ""
user1> git push

but user1 don't have permission to do so

Please again forgive me if it's silly question, I am new to git/ssh

How can I manage this?

On Mar 28, 5:59 am, Thomas Ferris Nicolaisen <> wrote:
> Hi,
> This may be outdated knowledge, but I've heard that setting up
> authenticated push over http is kinda tricky.
> If I were in your shoes, I would either go for the SSH 
> approach<>instead
>  of HTTP/Apache for now (and then maybe come back to it later if it
> is important. You should try following these 
> instructions<> using
> smart-http instead of DAV if you still want to set it up).
> If you really need to access your repository over HTTP(S), you could also
> try Gitblit <>, as it works pretty well out of the box
> and has built-in auth.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to