Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2019 20:15:35 -0500
From:      David Mehler <dave.mehler@gmail.com>
To:        jin guojun <jguojun@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: git with apache, a push returns code 22
Message-ID:  <CAPORhP49WxChGy%2BwGTYADjGOdVkq-JaMRgZSHka=ZoQcwCFavw@mail.gmail.com>
In-Reply-To: <CAE6yT5tce1uNobOxHZBK0%2BdFnKac%2BdkpTEF9NefaBVUicf1vDw@mail.gmail.com>
References:  <CAPORhP5O=35D5oEHQSWWSSLSNFA30z1P7iqjp=UcEBKAhmmJjg@mail.gmail.com> <CAE6yT5tce1uNobOxHZBK0%2BdFnKac%2BdkpTEF9NefaBVUicf1vDw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

Thanks for your reply. I get the same error message with both
commands. It's also saying:

fatal git-http-push failed

Any ideas?

Thanks.
Dave.


On 11/8/19, jin guojun <jguojun@gmail.com> wrote:
> Can you try following?
>
> git push origin HEAD:refs/heads/master
> or
> git push origin HEAD:refs/for/master
>
> On Fri, Nov 8, 2019 at 10:16 AM David Mehler <dave.mehler@gmail.com> wrote:
>
>> Hello,
>>
>> I'm trying to run git on FreeBSD with Apache 2.4 as the web server. My
>> issue is I can pull/clone from the repo via remote:
>>
>> git clone https://git.example.com/myrepo.git
>>
>> This works fine. The issue comes when I atempt to push changes:
>>
>> git commit -m "commit message"
>> git push origin master
>>
>> This gives me an error message of can nnott access url return code 22.
>> The git and apache versions i'm using are:
>>
>> apache24-2.4.41
>> git-2.24.0
>>
>>
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPORhP49WxChGy%2BwGTYADjGOdVkq-JaMRgZSHka=ZoQcwCFavw>