git with apache, a push returns code 22

jin guojun jguojun at gmail.com
Fri Nov 8 20:05:51 UTC 2019


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