Date: Mon, 24 May 2021 17:35:33 +0200 From: Kurt Jaeger <pi@freebsd.org> To: Ulrich =?iso-8859-1?Q?Sp=F6rlein?= <uqs@freebsd.org> Cc: git@freebsd.org Subject: Re: commit to gitrepo-dev ends up in gitrepo.FreeBSD.org ? Message-ID: <YKvHxSNqI4qoNYjQ@fc.opsec.eu> In-Reply-To: <CAJ9axoTuzmDELGBMfc1_yu2=i0X_1rL-zLrr%2BKbvSsjzPQd07w@mail.gmail.com> References: <202105231312.14NDCcOm011888@gitrepo.freebsd.org> <YKpV7BTZLLKx5RPQ@fc.opsec.eu> <CAJ9axoTuzmDELGBMfc1_yu2=i0X_1rL-zLrr%2BKbvSsjzPQd07w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi!
> > This is *really* strange.
> >
> > I've tried to test-commit to the test repo using
> >
> > git push git@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@FreeBSD.org
----------------
--
pi@FreeBSD.org +49 171 3101372 Now what ?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YKvHxSNqI4qoNYjQ>
