Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2021 00:18:33 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Milan Obuch <freebsd-git@dino.sk>
Cc:        freebsd-git@freebsd.org
Subject:   Re: git setup/usage question
Message-ID:  <F94A0FA3-72A9-4319-840C-609DA0A3CA85@yahoo.com>
In-Reply-To: <20210127082445.2ff4ca6a@zeta.dino.sk>
References:  <CCD9FAB7-7075-43F8-989B-78CC14091913.ref@yahoo.com> <CCD9FAB7-7075-43F8-989B-78CC14091913@yahoo.com> <20210126231347.0d7c5a77@zeta.dino.sk> <A448C932-50C3-4E93-B4CA-8A770C9876DE@yahoo.com> <20210127082445.2ff4ca6a@zeta.dino.sk>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2021-Jan-26, at 23:24, Milan Obuch <freebsd-git at dino.sk> wrote:

> On Tue, 26 Jan 2021 15:15:22 -0800, Mark Millard <marklmi at =
yahoo.com>
> wrote:
>=20
>> . . .
>=20
>> By the way, the modern version of Warner's documentation
>> is at:
>>=20
>> https://github.com/bsdimp/freebsd-git-docs/
>>=20
>> and is the basis for the documentation update FreeBSD
>> will have in this area.
>>=20
>> In the Cloning and Mirroring section of:
>>=20
>> https://github.com/bsdimp/freebsd-git-docs/blob/main/faq.md
>>=20
>> there is a little material about issues with using pare repos.
>> The Users section basically says that using bare will not be
>> documented. (I've never tired to use a bare repo.)
>=20
> If well working setup can be achieved this way, things can be =
changed...
>=20
>>> . . .
>>=20
>> The "No staged changed migration" section of:
>>=20
>> https://github.com/bsdimp/freebsd-git-docs/blob/main/src-cvt.md
>>=20
>> reports on using the following to clone with the ref/notes related
>> material included:
>>=20
>> git clone -o freebsd --config =
remote.freebsd.fetch=3D'+refs/notes/*:refs/notes/*' =
https://git.freebsd.org/src.git freebsd-src
>>=20
>> Note the "-o freebsd" that you did not use. The coning notes
>> in:
>>=20
>> https://github.com/bsdimp/freebsd-git-docs/blob/main/mini-primer.md
>>=20
>> also use the "-o freebsd" (but not the refs/notes related material).
>>=20
>=20
> Yes, because git said --bare and --origin are in conflict and can not
> be used together.

And FreeBSD has set things up for using --origin . Otherwise you are
on your own, from what I can tell. The conflict probably (partially?)
explains Warner indicating that he will not document use of bare
repos: too far from how they intend for folks to work with git.

>>> . . .
>>=20
>=20
> Thanks for pointing to another material. Something emerged from this
> discussion.

Glad it was of some help.

> I did a bit of digging into config file in git repository now and it
> looks like it is possible to get what I want with some editing there.
> It should be possible to achieve it via using 'git config' as well, =
but
> as this is my first attempt...
>=20
> I need some time to verify working status or fix issues now. As soon =
as
> I get feeling it is OK for me I send new mail documenting what I did
> and how I use it.

Sounds to me like you would get more support sticking to what is
normally allowed to be mixed with --origin use. Otherwise you
may well be mostly on your own.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F94A0FA3-72A9-4319-840C-609DA0A3CA85>