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

next in thread | previous in thread | raw e-mail | index | archive | help
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?CAE6yT5tce1uNobOxHZBK0%2BdFnKac%2BdkpTEF9NefaBVUicf1vDw>