From owner-freebsd-questions@freebsd.org Fri Nov 8 20:05:50 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EA7FC15E136 for ; Fri, 8 Nov 2019 20:05:50 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 478rqd0Q5Kz3MZv for ; Fri, 8 Nov 2019 20:05:48 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: by mail-lf1-x142.google.com with SMTP id q28so5395575lfa.5 for ; Fri, 08 Nov 2019 12:05:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4PegVOAPI4H/YFkP6DWsm9cqpjFJKNPb6JdBFLG/BSM=; b=J3HsiA01Ju1mHqfEDY+/X+hdsuo2rS8D2uVu9H5HEeEW7/9c+Gl++a247Dbg/xZh9Z ulEDZLKycJf5neaGgWFlLVVBLV7UtVgOjUJLdSpFJ0FUzJ6yJ0NwQZcT7mApElvzcbn/ 1g1n+VUFWdMZaDizwXKiy0EiH1pxdVHC2/en+SGJzBlA8bfdyPtc22HjCY3adGlFyhBb UXVRu0IJrufYGU6LRTrPjKKzgcOiQWSFh8Ti6HiQK1oGOt/SKIW2JdnSWlPa9pla2f9p 5yrH1+I9LRb6/j0PGZNg1OWpTDijrHQKWEWR9Rx2A8gHC8vRMwAG9s7W6ihGb0hzoL95 9zjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4PegVOAPI4H/YFkP6DWsm9cqpjFJKNPb6JdBFLG/BSM=; b=JB+6mbXkO/KZtsjObbq7347JDWCO6Rg3bAHB0EnoDxZnmrw1/0mDa5i+09rUpLbKGQ wA7FxzXJK72EDGIn1X5S5jhgGN/INxNc7q0Yu28+Y9S/rJQtwxywehI3+H/3h43SwPt9 Iw8h8myhTfkTrXFd7uIiVmtiAkuCF0yqjlnyNmAs8al5q0gnwm2mAxwg8nyLS1oAZ6at Piz+sF7BZpfrnygXfkeHSPiapYszINQMaLHu1vheJsa0JYIgf9UaRdjlq/PaybAK+vyL CdOFY3MznIJhVqal3WSa/Fnr5Q1aB0PJooa/z6gflluQZAaK3DnBxgwo2xa4Bz1yxuYL u73g== X-Gm-Message-State: APjAAAWsCy2g99Ul3lCRv6v8x8f9B3QCj5Zl2DswbHrbWlnXOdNkI54L TF1kPNNOillH5GeCAF2SXs/DKReXS6Ha1pDcQQ== X-Google-Smtp-Source: APXvYqwbUaCKTrDrZ3ifj8n/5bokJvw60nrozJNUEWRb8tJ1FXgLfbPwhtfIojAHV2o1Hc6qd6kuTZc7SyzJDe5p8us= X-Received: by 2002:ac2:52b3:: with SMTP id r19mr7586057lfm.109.1573243546938; Fri, 08 Nov 2019 12:05:46 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: jin guojun Date: Fri, 8 Nov 2019 12:05:34 -0800 Message-ID: Subject: Re: git with apache, a push returns code 22 To: David Mehler Cc: freebsd-questions X-Rspamd-Queue-Id: 478rqd0Q5Kz3MZv X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=J3HsiA01; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of jguojun@gmail.com designates 2a00:1450:4864:20::142 as permitted sender) smtp.mailfrom=jguojun@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (2.83), ipnet: 2a00:1450::/32(-2.76), asn: 15169(-2.01), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Nov 2019 20:05:51 -0000 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 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 > > >