Re: git push failed over http

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lynn Lin <lynnos@xxxxxxxxxxx> writes:

>        I setup a git public repo (http) over apache2,however I can't
> push to remote public repository
> 
> $ git push
> error: Cannot access URL http://192.168.1.109/demo.git/, return code 22
> error: failed to push some refs to 'http://192.168.1.109/demo.git'
> 
> Could anyone give some ideas on this problem?

First, you push over https, not http.  Second, you have to setup
WebDAV on server for pushing via http.

Other than that I cannot help, as I never set up git to push via http.
But I would check the documentation ("Git User's Manual" or "Git
Comunity Book" http://book.git-scm.com,... or perhaps best would be
howto/setup-git-server-over-http.txt)

-- 
Jakub Narebski
Poland
ShadeHawk on #git
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]