Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 2021 21:00:51 +0200
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@freebsd.org>
To:        Kurt Jaeger <pi@freebsd.org>
Cc:        git@freebsd.org
Subject:   Re: commit to gitrepo-dev ends up in gitrepo.FreeBSD.org ?
Message-ID:  <YKv340GWz%2BerZZmO@acme.spoerlein.net>
In-Reply-To: <YKv0WsCNHoJ%2BLrHc@fc.opsec.eu>
References:  <202105231312.14NDCcOm011888@gitrepo.freebsd.org> <YKpV7BTZLLKx5RPQ@fc.opsec.eu> <CAJ9axoTuzmDELGBMfc1_yu2=i0X_1rL-zLrr%2BKbvSsjzPQd07w@mail.gmail.com> <YKvHxSNqI4qoNYjQ@fc.opsec.eu> <YKvz5gTl0aYiWGrS@acme.spoerlein.net> <YKv0WsCNHoJ%2BLrHc@fc.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YKv340GWz%2BerZZmO>