Date: Sat, 3 Dec 2022 15:59:06 +0000 From: Nuno Teixeira <eduardo@freebsd.org> To: d@delphij.net Cc: freebsd-git@freebsd.org Subject: Re: git-switch(1) then git-pull(1) Message-ID: <CAFDf7U%2Bd-fMZ3RstsSEdWyKX9PeA=ovC9OZgQQwNaky_grLMAw@mail.gmail.com> In-Reply-To: <c1a68261-6245-0c98-e356-3a806480a10b@delphij.net> References: <ef399d4c-cb26-2bff-9966-684d3a7b96ad@freebsd.org> <CAFDf7UJWWHKqAGFWdQHfXTH=H=c0vF1pf1X%2BZO78iDtiL3E=cg@mail.gmail.com> <c1a68261-6245-0c98-e356-3a806480a10b@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000005db1de05eeee899b Content-Type: text/plain; charset="UTF-8" Hello, $ git clone https://git.freebsd.org/ports 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). Thanks -- Nuno Teixeira FreeBSD Committer (ports) --0000000000005db1de05eeee899b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">Hello,<br></div><br><div class=3D"gmail_q= uote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b= order-left:1px solid rgb(204,204,204);padding-left:1ex"> $ git clone <a href=3D"https://git.freebsd.org/ports" rel=3D"noreferrer" ta= rget=3D"_blank">https://git.freebsd.org/ports</a> ports/main<br> $ cd ports/main<br> $ git worktree add ../2022Q4 -b 2022Q4 origin/2022Q4<br clear=3D"all"></blo= ckquote><div><br></div><div>So we will have ports/{main,2022Q4} and cd to m= ain or 2022Q4 according if commit is to main or quarterly?</div><div><br></= div><div>I will try this soon because swithing from branches is not the bes= t way (but I used it for about 1 year without problems).<br></div><div><br>= </div><div>Thanks<br></div></div><br>-- <br><div dir=3D"ltr" class=3D"gmail= _signature"><div dir=3D"ltr"><span style=3D"color:rgb(102,102,102)">Nuno Te= ixeira<br>FreeBSD Committer (ports)</span></div></div></div> --0000000000005db1de05eeee899b--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2Bd-fMZ3RstsSEdWyKX9PeA=ovC9OZgQQwNaky_grLMAw>