[ale] help with git local repo

Michael Martin mcm30114 at gmail.com
Fri Oct 30 09:52:06 EDT 2015


I’ll take a crack at it.

>From the client, can you SSH into the server without UID/PW challenge — did you set up your SSH keys?

Getting automated (ssh keys) set up is a bit of a trip wire that needs to be done for automated push from the client.

Hope I understood the environment configuration correctly.

HTH

Mike (“@Giantmike”) Martin

> On Oct 30, 2015, at 9:43 AM, Chuck Payne <terrorpup at gmail.com> 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?
> 
> -- 
> 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.
> _______________________________________________
> 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




More information about the Ale mailing list