Hi 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 http://192.168.0.66/git/gitrepos/project1.git 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 To http://192.168.0.66/git/gitrepos/project1.git ! [remote rejected] master -> master (n/a (unpacked error)) error: failed to puh some refs to ' http://192.168.0.66/git/gitrepos/project1.git' These are the setting have done. SetEnv GIT_PROJECT_ROOT /var/www/git SetEnv GIT_HTTP_EXPORT_ALL ScriptAlias /git/ /usr/lib/git-core/git-http-backend/ SetEnv REMOTE_USER=$REDIRECT_REMOTE_USER <Directory "/usr/lib/git/"> AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all </Directory> <LocationMatch "^/git/.*/git-receive-pack$"> AuthType Basic AuthName "Git Access" </LocationMatch> 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 :) ) Thanks --