git setup/usage question

Stefan Sperling stsp at stsp.name
Thu Jan 28 15:17:34 UTC 2021


On Thu, Jan 28, 2021 at 02:07:57PM -0000, Christian Weisgerber wrote:
> On 2021-01-28, David Wolfskill <david at catwhisker.org> wrote:
> 
> > 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
> 
> FWIW, a bare repository and checking out any number of worktrees
> from it is the normal way Got (devel/got) works.

There are a couple of additional aspects of Got which will seem
familiar to former CVS/SVN users:

 - mixed-commit work trees operate just like with SVN, such that
   'got update sys/dev/iwm' will do exactly what SVN users expect

 - relatively small command set with familiar names and options:
   checkout, update, info, revert -R, ... See the man page for
   more: https://gameoftrees.org/got.1.html

 - strong focus on the centralized repository use case; the idea is
   to store one repository per machine as was done with CVSup/svnsync

That said, while this software is functional it is still under development.
The current feature set should be more than complete enough to support
anyone tracking development sources in a read-only fashion. But we're
not ready to set the UI in stone, meaning scripts using Got may break.
This is not a "set it up once and forget" solution. New releases occur
every couple of weeks and are similar to "-current" snapshots rather
than "-stable" releases.

For now, I would suggest to stay away from Got unless you like what you
see and would want this software to become truly production-ready. Then,
by all means, use it and provide feedback to help our progress.

Cheers,
Stefan


More information about the freebsd-git mailing list