[git-users] Re: Need some help with git
On Wednesday, March 28, 2012 8:27:22 PM UTC+2, Bodda wrote: 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 What error message do you get exactly? What happens if you try this? user1 ssh git@server (hint: this has to work in order for git over ssh to work) Please again forgive me if it's silly question, I am new to git/ssh world There are no silly questions :) -- You received this message because you are subscribed to the Google Groups Git for human beings group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/2z0dE-_FRD0J. 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.
Re: [git-users] Re: Need some help with git
Hi Thomas, No error but i have to enter git user password, so I have to expose this password. I want each user to login using his own credentials. So i can allow for example read only for some users.and read write to others. Do you get my point? On Mar 29, 2012 3:15 PM, Thomas Ferris Nicolaisen tfn...@gmail.com wrote: On Wednesday, March 28, 2012 8:27:22 PM UTC+2, Bodda wrote: 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 What error message do you get exactly? What happens if you try this? user1 ssh git@server (hint: this has to work in order for git over ssh to work) Please again forgive me if it's silly question, I am new to git/ssh world There are no silly questions :) -- You received this message because you are subscribed to the Google Groups Git for human beings group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/2z0dE-_FRD0J. 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. -- 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.
[git-users] Re: Need some help with git
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 approachhttp://tumblr.intranation.com/post/766290565/how-set-up-your-own-private-git-server-linuxinstead of HTTP/Apache for now (and then maybe come back to it later if it is important. You should try following these instructionshttp://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 view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/nYK_uHJhj6kJ. 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.
[git-users] Re: Need some help with git
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 approachhttp://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 instructionshttp://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.