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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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) [-- Attachment #2 --] <div dir="ltr"><div dir="ltr">Hello,<br></div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> $ git clone <a href="https://git.freebsd.org/ports" rel="noreferrer" target="_blank">https://git.freebsd.org/ports</a> ports/main<br> $ cd ports/main<br> $ git worktree add ../2022Q4 -b 2022Q4 origin/2022Q4<br clear="all"></blockquote><div><br></div><div>So we will have ports/{main,2022Q4} and cd to main 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 best 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="ltr" class="gmail_signature"><div dir="ltr"><span style="color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committer (ports)</span></div></div></div>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2Bd-fMZ3RstsSEdWyKX9PeA=ovC9OZgQQwNaky_grLMAw>
