Re: git-switch(1) then git-pull(1)
- Reply: Warner Losh : "Re: git-switch(1) then git-pull(1)"
- In reply to: Xin Li : "Re: git-switch(1) then git-pull(1)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Dec 2022 15:59:06 UTC
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)