From owner-freebsd-git@freebsd.org Thu Jan 28 00:16:26 2021 Return-Path: Delivered-To: freebsd-git@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CDE054EED22 for ; Thu, 28 Jan 2021 00:16:26 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DR1Gy43Rsz3q3T for ; Thu, 28 Jan 2021 00:16:26 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 10S0GFxa046555; Thu, 28 Jan 2021 00:16:15 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 10S0GDLr046554; Wed, 27 Jan 2021 16:16:13 -0800 (PST) (envelope-from david) Date: Wed, 27 Jan 2021 16:16:13 -0800 From: David Wolfskill To: Mark Millard Cc: freebsd-git@freebsd.org Subject: Re: git setup/usage question Message-ID: Reply-To: freebsd-git@freebsd.org References: <20210126151017.4a9dd711@zeta.dino.sk> <00F58366-4178-458E-8865-E1A2E5324EB4@yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3B/WTDX4IHYYXoLn" Content-Disposition: inline In-Reply-To: <00F58366-4178-458E-8865-E1A2E5324EB4@yahoo.com> X-Rspamd-Queue-Id: 4DR1Gy43Rsz3q3T X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2021 00:16:26 -0000 --3B/WTDX4IHYYXoLn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 27, 2021 at 03:29:38PM -0800, Mark Millard via freebsd-git wrot= e: > ...=20 > 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 --=20 David H. Wolfskill david@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. --3B/WTDX4IHYYXoLn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmASAk1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PckRpwf7Bvor6peTV+7v0MFGLq/2toeLJCzNIq0Cz5uViMTIws8fadd823mutTho foz23nYeBcfqnmUUJuTcIfc2dQXhhAHSwtK0xpWEUoUC4NPhSPb9y/U6TVhnQCcr kkmqkgDg5gy+nQbat4Q7GX+fJC39y+5wGJzlfP/URiMDD3yWwRtihr8UkRQvpOD1 Ua4FtvMvKo9yVNyyLoljV99uhjrGUSkcxcyl60+s/a2J7ttWVsJIbLaslg6fQu3G FZ4EMf5cq/SUG2Kd4zl5fEy5EYv/Ce8iSEBnDxZjdZyjA/BBW9s0gxcKJrRnd2pX IP2imiuqTFTxxknR1XifScw/XfYtyw== =HXgg -----END PGP SIGNATURE----- --3B/WTDX4IHYYXoLn--