* git push failed over http
@ 2009-06-28 7:20 Lynn Lin
2009-06-28 8:11 ` Jakub Narebski
0 siblings, 1 reply; 3+ messages in thread
From: Lynn Lin @ 2009-06-28 7:20 UTC (permalink / raw)
To: git
Hi,all
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?
Thanks very much
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: git push failed over http 2009-06-28 7:20 git push failed over http Lynn Lin @ 2009-06-28 8:11 ` Jakub Narebski 2009-06-28 13:47 ` Tay Ray Chuan 0 siblings, 1 reply; 3+ messages in thread From: Jakub Narebski @ 2009-06-28 8:11 UTC (permalink / raw) To: Lynn Lin; +Cc: git Lynn Lin <lynnos@tong-ji.org> 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git push failed over http 2009-06-28 8:11 ` Jakub Narebski @ 2009-06-28 13:47 ` Tay Ray Chuan 0 siblings, 0 replies; 3+ messages in thread From: Tay Ray Chuan @ 2009-06-28 13:47 UTC (permalink / raw) To: Jakub Narebski; +Cc: Lynn Lin, git Hi, On Sun, Jun 28, 2009 at 4:11 PM, Jakub Narebski<jnareb@gmail.com> wrote: > First, you push over https, not http. It's possible to push over HTTP. Authentication methods include Basic and Digest. -- Cheers, Ray Chuan ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-06-28 13:48 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-06-28 7:20 git push failed over http Lynn Lin 2009-06-28 8:11 ` Jakub Narebski 2009-06-28 13:47 ` Tay Ray Chuan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).