I have setup smart http and now able to clone. I am using Ubuntu 12.10. but 
when i try to push i get the following error. 

$git push master
Counting objects: 5, done.
Writing objects: 100% (3/3), 276 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
error: unpack failed: unpack-objects abnormal exit
! [remote rejected] master -> master (n/a (unpacked error))
error: failed to puh some refs to ''

These are the setting have done.

SetEnv GIT_PROJECT_ROOT /var/www/git
ScriptAlias /git/ /usr/lib/git-core/git-http-backend/

<Directory "/usr/lib/git/">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all

<LocationMatch "^/git/.*/git-receive-pack$">
AuthType Basic
AuthName "Git Access"

I have not added "Require group committers" so that i do not have to 
authenticate push. (actually not sure which username and password to use. 
Right now what to make git push working)

I have set "git config http.receivepack true"
I have given all permission to git folder drwxrwxrwx 3 root root 4096 Nov 
13 23:13 git

What else do i need to do to enable push
(Please note i am new to Linux and apache but learning :) )




Reply via email to