Issue with GIT server

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Issue with GIT server

From: Dutta, Ranjan <hidden>
Date: 2016-06-15 22:45:17

Hello,

I am facing the following issue with GIT server running on Ubuntu 8.04
using an http interface (apache2)..

When I try to push code at the GIT client end

1. git-add(s)
2. git-commit
3. sudo git push upload master

I get this error - 

error: http-push died with strange error
error: failed to push some refs to 'http://<usernaM@<server ip
address>/<git_dir>/'

Any pointers as to how to debug this further ?

Regards,
Ranjan

Re: Issue with GIT server

From: Andreas Ericsson <hidden>
Date: 2016-06-15 22:45:17

Dutta, Ranjan wrote:
Hello,

I am facing the following issue with GIT server running on Ubuntu 8.04
using an http interface (apache2)..

When I try to push code at the GIT client end

1. git-add(s)
2. git-commit
3. sudo git push upload master

I get this error - 

error: http-push died with strange error
error: failed to push some refs to 'http://<usernaM@<server ip
address>/<git_dir>/'

Any pointers as to how to debug this further ?
To start with, you needn't use "sudo" to run git push.

Besides that, I'm guessing it's a permission error on the server,
so that the apache user (or whatever user your webserver is running
as) can't write to the files it needs to write to.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help