[ale] help with git local repo

Chuck Payne terrorpup at gmail.com
Fri Oct 30 11:53:39 EDT 2015


JD,

What group did you use because I do see that everything is own by root
that might be the issue now, the line added to the git-daemon help,
but I am getting write errors. Did you create a group called it and
add users to it?

On Fri, Oct 30, 2015 at 11:39 AM, DJ-Pfulio <DJPfulio at jdpfu.com> wrote:
> I'm probably missing something basic, but ...
>
> Don't remember any tricks to setting up a git repo. Normal UNIX group
> management stuff was it.
>
> Put all the project users into a unix group. Setup the "server" repo
> with that group forcing that group to be used and maintain write.
> chgrp ....
> chmod -R g+rwx   ; on all directories: chmod g+s ....
>
> gitweb - never used it. Never needed that. ssh and git+ssh was all we
> ever needed.
>
> There's a free "Pro Git" pdf online. Think I had to read 2-3 pages to
> learn all I needed to know.
>
> Pushing ssh-keys is easy these days - use ssh-copy-id. It handles
> permissions, appending as needed.
>
> On 10/30/2015 09:43 AM, Chuck Payne wrote:
>> Guys,
>>
>> I am working with a developer to set up a local git repo. We are using
>> Debian with git and gitweb. We have everything on the Debian side
>> working we are able to pull repos, but we can't push back.  We have
>> also installed git-daemon, and I have added to the repo
>> git-daemon-export-ok under the .git directory.
>>
>> git config --list
>>
>>
>> user.cepayne=User A
>> user.email=user at mycompany.com
>> user.name= Dr. Light
>> core.repositoryformatversion=0
>> core.filemode=true
>> core.bare=true
>> core.sharedrepository=1
>> receive.denynonfastforwards=true
>> git.receivepack=true
>> http.receivepack=true
>>
>> Here the info I have, I am hoping someone one know what needs to be
>> change, this is from the client side
>>
>> git clone git://mybox/project.git project
>>
>> cd project
>>
>> origin git://mybox/project.git (fetch)
>> origin git://mybox/project.git (push)
>>
>> Start working with it. Add just a simple README file
>>
>> git add README
>> git commit -m "test repo"
>> git push origin master
>>
>> fatal: remote error: access denied or repository not exported: /project.git
>>
>> From the server
>>
>> Oct 30 09:31:19 mybox git-daemon[20427]: Connection from 10.0.10.200:58044
>> Oct 30 09:31:19 mybox git-daemon[20427]: Extended attributes (29
>> bytes) exist <host=mybox>
>> Oct 30 09:31:19 mybox git-daemon[20427]: Request receive-pack for '/project.git'
>> Oct 30 09:31:19 mybox git-daemon[20427]: 'receive-pack': service not
>> enabled for '/var/cache/git/project.git/.git'
>> Oct 30 09:31:19 my box git-daemon[26495]: [20427] Disconnected (with error)
>>
>> Is there something I need to change?
>>
>
>
> --
> Got Linux? Used on smartphones, tablets, desktop computers, media
> centers, and
> servers by kids, Moms, Dads, grandparents and IT professionals.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo



-- 
Terror PUP a.k.a
Chuck "PUP" Payne
-----------------------------------------
Discover it! Enjoy it! Share it! openSUSE Linux.
-----------------------------------------
openSUSE -- Terrorpup
openSUSE Ambassador/openSUSE Member
skype,twiiter,identica,friendfeed -- terrorpup
freenode(irc) --terrorpup/lupinstein
Register Linux Userid: 155363

Have you tried SUSE Studio? Need to create a Live CD,  an app you want
to package and distribute , or create your own linux distro. Give SUSE
Studio a try.


More information about the Ale mailing list