svnadmin equivalent?

Mathieu Arnold mat at freebsd.org
Fri Dec 11 13:38:22 UTC 2020


On Fri, Dec 11, 2020 at 03:30:45AM -0800, David Wolfskill wrote:
> On Thu, Dec 10, 2020 at 09:37:35PM -0700, Warner Losh wrote:
> > On Thu, Dec 10, 2020, 9:35 PM Konstantin Belousov <kostikbel at gmail.com>
> > wrote:
> > ...
> > > Can we have it scripted, per repo, and scripts available somewhere ?
> > > It is convoluted list of per-repo branches.  I want a simple means to
> > > run something and get the guaranteed clone of all material from the repo.
> > >
> > 
> > git clone --mirror
> > 
> > Warner
> > ....
> 
> FWIW, that is what I have been doing.

So, something like:

$ git clone --mirror git at repo-dev.freebsd.org:ports.git ports.git
$ cd ports.git
$ git worktree add ../ports main
$ git worktree add ../quarterly branches/2020Q4
$ cd ../ports

and then work from there, that will do.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-git/attachments/20201211/96539ebb/attachment.sig>


More information about the freebsd-git mailing list