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
world

How can I manage this?

On Mar 28, 5:59 am, Thomas Ferris Nicolaisen <tfn...@gmail.com> 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<http://tumblr.intranation.com/post/766290565/how-set-up-your-own-priv...>instead
>  of HTTP/Apache for now (and then maybe come back to it later if it
> is important. You should try following these 
> instructions<http://progit.org/2010/03/04/smart-http.html> 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 <http://gitblit.com/>, 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 git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to