From nobody Sat Dec 3 15:59:06 2022 X-Original-To: freebsd-git@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NPZHp2yj6z4jjTp for ; Sat, 3 Dec 2022 15:59:18 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NPZHp2WH8z3sRQ for ; Sat, 3 Dec 2022 15:59:18 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670083158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZcU7QHRlDcljHeR0N5YdncWlNL7qFrJKRLRoC+YAF7Y=; b=Ik7kt0gtGOFJm+Un403aKE9ZvRf/x5csJaKoAMEf5u6erbwuClZLpjjHJypV4jn53KtL/T 1JdUsEbnMv4D/8Mpr7BNEZM9TzqKPDoMsTRta71eZ97YeVyTahMRdouwZRY9NWSDBBioCi v0QwN+5HW7HBlsgZOd/H/cElTiVY8hxZ0aX5sDIVnR2yc2bfbSUSPJMFpXYDkkI+nOEkRa kIi0Z8EegsU97UCbrEjncH60HralhfcwVM7Usn6AoYkUfzFJX0/a4eHmNaaDAd6uyb4cIN tWC6rrezncqbVow7XT0xk7olxWA08gmC2+WrVPfMJjah0IpbWH70VUeCjbyGPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670083158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZcU7QHRlDcljHeR0N5YdncWlNL7qFrJKRLRoC+YAF7Y=; b=ual6wEYdZTb/8Oue+ahv0cPTnNsaJ2B3BtnRNuGsBtgrnSYQ3kn8Iz9bxowZWC4mkncbwq BT1RAE9xgg8s1T91aNB6NOM2JxF7kXFJXUH9orPZzcvidDsoglD9FqOM/DvDivW31Gi7uG KFPOgs+RGqLad7w77FZext6oPImSOTeOuzN83vaMzNuXFizAObPOWt0rThZ3msPGYb2m8w qxTNSQD/bwWRyd69gh4gEx0SQ2uWtBBb9HdsoLYyKPJXY7shWhGPCwxdUaWhm0LeuwiVLr RaneE9OS8vxlA5TOld0CJunx950jqrsOK+7R7acYUDOtvYvL6C+SbkvX5Yg1aQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670083158; a=rsa-sha256; cv=none; b=U5p3w1ODXEdFxlzik3wndJA5By2ysy/2pbntXMVRddgYP1pPCqUMO6rAuLnaWcI7QmujpY eEzXp0IW53XcyPRxfkUHAC2Z9BFkjvTj9MVAxS3mAsSwswtmLwQNr8KmPp4hzj0fwNHGmt lMgrDqFnJcK/u2Z2iBj6ww1NjtGLvbZ3q3OWmc1BVlV0hA3AuOdPHtn1L7Zp74kHdaXqew 1mj0ixy0JFZbkOw1hEtzhB7mO+ykzre9NG6iSnVKS0RFUzFLO77xMIBiYntP3Xk5hGrsD/ eCRemiFMMu9dWE0EOBIUIiXq+ByHOTZb3pEQIu414HmDp9UhTJvFj2MDvDmUyQ== Received: from mail-vs1-f49.google.com (mail-vs1-f49.google.com [209.85.217.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4NPZHp1Mg1z17Dq for ; Sat, 3 Dec 2022 15:59:18 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-vs1-f49.google.com with SMTP id 128so7305994vsz.12 for ; Sat, 03 Dec 2022 07:59:18 -0800 (PST) X-Gm-Message-State: ANoB5pnYmdI9tG4ydC8+1wePFuXYzC8sRcbFSVTWMqyFvC55xi3FVLGU D72GRPnBnIs39ntArNwawWD6WUXs/CO6Ltmhnak= X-Google-Smtp-Source: AA0mqf4XdY6QH3QNWbhIV1xSfLbgoxh5oflbfzS1PbmE8JZmoSVxqKJUpyRCRj9wW75duqYTWPpaK9a0w62y2qnzeEk= X-Received: by 2002:a67:cc0a:0:b0:3b0:a0ba:208e with SMTP id q10-20020a67cc0a000000b003b0a0ba208emr16201777vsl.19.1670083157798; Sat, 03 Dec 2022 07:59:17 -0800 (PST) List-Id: Discussion of git use in the FreeBSD project List-Archive: https://lists.freebsd.org/archives/freebsd-git List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-git@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Nuno Teixeira Date: Sat, 3 Dec 2022 15:59:06 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git-switch(1) then git-pull(1) To: d@delphij.net Cc: freebsd-git@freebsd.org Content-Type: multipart/alternative; boundary="0000000000005db1de05eeee899b" X-ThisMailContainsUnwantedMimeParts: N --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
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 m= ain or 2022Q4 according if commit is to main or quarterly?

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).

=
Thanks

--
Nuno Te= ixeira
FreeBSD Committer (ports)
--0000000000005db1de05eeee899b--