Re: git-switch(1) then git-pull(1)

From: Nuno Teixeira <>
Date: Sat, 03 Dec 2022 15:59:06 UTC

$ git clone ports/main
> $ cd ports/main
> $ git worktree add ../2022Q4 -b 2022Q4 origin/2022Q4

So we will have ports/{main,2022Q4} and cd to main or 2022Q4 according if
commit is to main or quarterly?

I will try this soon because swithing from branches is not the best way
(but I used it for about 1 year without problems).


Nuno Teixeira
FreeBSD Committer (ports)