git with apache, a push returns code 22

David Mehler dave.mehler at gmail.com
Sat Nov 9 01:15:40 UTC 2019


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 at 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 at 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
>>
>>
>>
>


More information about the freebsd-questions mailing list