Re: commit to gitrepo-dev ends up in gitrepo.FreeBSD.org ?

From: Kurt Jaeger <pi_at_freebsd.org>
Date: Mon, 24 May 2021 17:35:33 +0200
Hi!

> > This is *really* strange.
> >
> > I've tried to test-commit to the test repo using
> >
> >   git push git_at_gitrepo-dev.FreeBSD.org:ports.git
> >
> > and it ended up in the production repo somehow ?

> Looks like you set up the remotes badly maybe? Please paste in your
> .git/config

Here's .gitconfig.

-------------

# This is Git's per-user configuration file.

[includeIf "gitdir:~/git/"]
	path = ~/.git-github

[includeIf "gitdir:~/g/"]
	path = ~/.git-fbsd

[includeIf "gitdir:~/tg/"]
	path = ~/.git-fbsd

[includeIf "gitdir:~/h/"]
	path = ~/.git-fbsd

[includeIf "gitdir:/pou/ports/default/"]
	path = ~/.git-fbsd

[init]
    defaultBranch = main

[pager]
    diff = false
    show = false

[color]
    ui = off

----------------

The directory-specifics are just different email values, e.g. .git-fbsd:

----------------
[user]
        name = Kurt Jaeger
        email = pi_at_FreeBSD.org

----------------

-- 
pi_at_FreeBSD.org         +49 171 3101372                  Now what ?
Received on Mon May 24 2021 - 15:35:33 UTC

Original text of this message