Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2025 20:03:21 +0200
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        freebsd-git@freebsd.org
Subject:   Re: got(1) in base consideration
Message-ID:  <aBugafxRgNngAV27@lorvorc.mips.inka.de>
In-Reply-To: <4182725.BRNeRiNLvY@ravel>
References:  <9f48a955-5f8a-450c-94c1-2a7d9d69ecb9@FreeBSD.org> <2029663.vslOlgHxSZ@ravel> <86plgku1ow.fsf@ltc.des.dev> <4182725.BRNeRiNLvY@ravel>

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

Olivier Certner:

> Actually, I've been using worktrees for a long time with bare repositories, where there is no "first"/privileged worktree that has a real '.git' directory, which IMO is much more natural and has the advantage of avoiding foot-shooting if one day you decide to remove some worktree that unfortunately was the main one.

That's exactly how Got works.  It always clones a bare repository,
and you can check out worktrees at will.

Generally speaking, Got uses the Git repository format and network
protocol.  It interops with Git.  Beyond that, there is no particular
similarity.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aBugafxRgNngAV27>