git setup/usage question
David Wolfskill
david at catwhisker.org
Thu Jan 28 00:16:26 UTC 2021
On Wed, Jan 27, 2021 at 03:29:38PM -0800, Mark Millard via freebsd-git wrote:
> ...
> It looks to me like he is using a configuration (--bare)
> outside the range FreeBSD is intending to deal with and
> so he needs his own fairly-unique procedures for using
> git for FreeBSD activity.
> ....
I do not claim to be especially knowledgable about git.
That said, what I set up for my use does involve a "--bare" (more
precisely, a "--mirror") repo.
I documented what I did at
https://www.catwhisker.org/~david/FreeBSD/repo-sync.html
Please be aware that I did not make any attempt (for example) to
minimize disk usage: just for FreeBSD sources, I have the mirror
repo, and I have a completely separate "normal" working copy for
each branch of FreeBSD that I track (at the moment, head, stable/12,
and stable/13).
I am also not a "developer," per se: I have no need to ever think about
trying to commit changes and push them or upstream them.
As (briefly) mentioned in the above-cited Web page, I made an attempt at
using git worktrees, found it confusing, and gave up.
What I am doing seems to be working OK for my use and requirements. My
requirements probably do not match most other folks' requirements.
That said, there may be something useful there: For the branches I
track, I track them daily on a couple of different machines; one of
those is the laptop I use for normal, day-to-day work.
Peace,
david
--
David H. Wolfskill david at catwhisker.org
Some follks seem determined to drag the Republican party down from a role
as the "loyal opposition" to a mob of Q-Anon-crazy insurrectionists.
See https://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-git/attachments/20210127/5d720379/attachment.sig>
More information about the freebsd-git
mailing list