From: Jakub Narebski <jnareb@gmail.com>
To: Lynn Lin <lynnos@tong-ji.org>
Cc: git@vger.kernel.org
Subject: Re: git push failed over http
Date: Sun, 28 Jun 2009 01:11:55 -0700 (PDT) [thread overview]
Message-ID: <m3y6rcwz5f.fsf@localhost.localdomain> (raw)
In-Reply-To: <82ec251f0906280020p71026a81w57018e9af4d39396@mail.gmail.com>
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
next prev parent reply other threads:[~2009-06-28 8:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-28 7:20 git push failed over http Lynn Lin
2009-06-28 8:11 ` Jakub Narebski [this message]
2009-06-28 13:47 ` Tay Ray Chuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3y6rcwz5f.fsf@localhost.localdomain \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
--cc=lynnos@tong-ji.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).