From nobody Mon May 24 19:00:51 2021 X-Original-To: git@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4B19AA7FA2B for ; Mon, 24 May 2021 19:00:53 +0000 (UTC) (envelope-from uqs@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fpmks0fmrz4TkG; Mon, 24 May 2021 19:00:53 +0000 (UTC) (envelope-from uqs@freebsd.org) Received: from localhost (acme.spoerlein.net [IPv6:2a05:fc87:1:5::15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: uqs/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 784249B8E; Mon, 24 May 2021 19:00:52 +0000 (UTC) (envelope-from uqs@freebsd.org) Date: Mon, 24 May 2021 21:00:51 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Kurt Jaeger Cc: git@freebsd.org Subject: Re: commit to gitrepo-dev ends up in gitrepo.FreeBSD.org ? Message-ID: References: <202105231312.14NDCcOm011888@gitrepo.freebsd.org> List-Id: Discussion of git use in the FreeBSD project List-Archive: https://lists.freebsd.org/archives/freebsd-git List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-git@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.0.6 (2021-03-06) X-Spam: Yes On Mon, 2021-05-24 at 20:45:46 +0200, Kurt Jaeger wrote: >Hi! > >> > > Looks like you set up the remotes badly maybe? Please paste in your >> > > .git/config >> > >> > Here's .gitconfig. >[...] >> I don't know what this is, but this is clearly not the .git/config file >> that's inside your repository that has the odd remote behavior. > >Ah, I was not aware of that config file. > >Here it is: > >---------------------- >[core] > repositoryformatversion = 0 > filemode = true > bare = false > logallrefupdates = true > hooksPath = .hooks >[remote "freebsd"] > fetch = +refs/notes/*:refs/notes/* > url = ssh://git@gitrepo-dev.freebsd.org/ports.git > fetch = +refs/heads/*:refs/remotes/freebsd/* >[branch "main"] > remote = freebsd > merge = refs/heads/main >---------------------- Hmmm, that looks perfectly fine. Pushing to 'freebsd' in this repo should've gone to the dev cluster. Are you sure you don't also have a 2nd checkout and ran the command from there? Cheers Uli